-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (92 loc) · 2.61 KB
/
pyproject.toml
File metadata and controls
106 lines (92 loc) · 2.61 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "dynamic-foraging-task"
description = "Dynamic Foraging Task used at the Allen Institute for Neural Dynamics"
license = {text = "MIT"}
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
readme = "README.md"
dynamic = ["version"]
dependencies = [
"numpy >=2, <3",
"scipy >=1, <2",
"matplotlib >=3, <4",
"PyQt5 >=5, <6",
"pandas >=2, <3",
"pyserial >=3, <4",
"pyOSC3@git+https://github.com/glopesdev/pyosc3.git@master",
"newscale@git+https://github.com/AllenNeuralDynamics/python-newscale@axes-on-target",
"aind-auto-train@git+https://github.com/AllenNeuralDynamics/aind-foraging-behavior-bonsai-automatic-training.git@main",
"aind-slims-api@git+https://github.com/AllenNeuralDynamics/aind-slims-api@main",
"aind-dynamic-foraging-models >= 0.12.2",
"aind-dynamic-foraging-basic-analysis >= 0.3.34",
"aind-behavior-services >=0.8, <0.9",
"pynwb >=2, <3",
"requests >=2, <3",
"harp-python >=0.3, <2",
"openpyxl >=3, <4",
"deepdiff >=8, <9",
"aind-data-schema==1.1.0",
"aind-data-schema-models==0.5.6",
"pydantic==2.10.6",
"stagewidget==1.0.5",
"python-logging-loki >=0.3.1, <2",
"pykeepass >=4.0.7, <5",
"pyyaml >=6, <7",
"pyqtgraph >=0.13, <2",
"ms-active-directory",
"cryptography",
"winkerberos; sys_platform == 'win32'",
"ldap3; sys_platform == 'win32'",
"msal; sys_platform == 'win32'",
]
[project.optional-dependencies]
dev = ['black', 'coverage', 'flake8', 'interrogate', 'isort', 'Sphinx', 'furo']
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "foraging_gui.__version__"}
[tool.black]
line-length = 79
target_version = ['py311', 'py312', 'py313']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
| .gitignore
)
'''
[tool.ruff]
line-length = 79
target-version = 'py311'
[tool.ruff.lint]
# pyflakes, pycodestyle, isort
select = ["F", "E", "W", "I", "C90"]
ignore=["E501"]
[tool.coverage.run]
omit = ["*__init__*"]
source = ["src"]
[tool.coverage.report]
exclude_lines = ["if __name__ == .__main__.:", "# pragma: no cover"]
fail_under = 30
[tool.isort]
line_length = 79
profile = "black"
[tool.interrogate]
exclude = ["setup.py", "docs", "build", "tests"]
fail-under = 70