-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
80 lines (70 loc) · 1.7 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[project]
name = "fiberphotopy"
version = "0.2.32"
requires-python = ">=3.11"
description = "Package for loading and processing fiber photometry data"
authors = [{ name = "kpuhger", email = "krpuhger@gmail.com" }]
license = "MIT"
readme = "README.md"
dependencies = [
"notebook>=7.3.1",
"numpy>=2.2.0",
"openpyxl>=3.1.5",
"pandas>=2.2.3",
"pingouin>=0.5.5",
"pyyaml>=6.0.2",
"ruamel-yaml>=0.18.6",
"scipy>=1.14.1",
"seaborn>=0.13.2",
]
[dependency-groups]
dev = [
"mkdocs>=1.6.1",
"mkdocs-material>=9.5.49",
"mkdocstrings>=0.27.0",
"pre-commit>=4.0.1",
"pytest>=8.3.4",
"ruff>=0.8.3",
]
[project.urls]
repository = "https://github.com/kpuhger/fiberphotopy"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--log-cli-level=INFO -sv --durations=0"
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W",
"F", # pyflakes
"PL", # pylint
"I", # isort
"B", # flake8-bugbear
"SIM", # flake8-simplify
"C4", # flake8-comprehensions
"RUF", # ruff
]
fixable = ["ALL"]
ignore = [
"PLR0913", # too many arguments
"PLR0914", # too many local variables
"PLR0917", # too many positional arguments
"PLR2004", # magic number
"PLW2901", # for loop variable overwritten by assignment target
"E501", # line too long
"B008", # function-call-in-default-argument
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "D104"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"