forked from rly/ndx-pose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
123 lines (109 loc) · 3.17 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ndx-pose"
version = "0.2.0"
authors = [
{ name="Ryan Ly", email="[email protected]" },
{ name="Ben Dichter", email="[email protected]" },
{ name="Alexander Mathis", email="[email protected]" },
{ name="Liezl Maree", email="[email protected]" },
{ name="Chris Brozdowski", email="[email protected]" },
{ name="Heberto Mayorquin", email="[email protected]" },
{ name="Talmo Pereira", email="[email protected]" },
{ name="Elizabeth Berrigan", email="[email protected]" },
]
description = "NWB extension to store pose estimation data"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "BSD-3"}
classifiers = [
# TODO: add classifiers before release
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
# "Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
]
keywords = [
'NeurodataWithoutBorders',
'NWB',
'nwb-extension',
'ndx-extension',
]
dependencies = [
"pynwb>=2.6.0",
"hdmf>=3.13.0",
]
# TODO: add URLs before release
[project.urls]
"Homepage" = "https://github.com/rly/ndx-pose"
# "Documentation" = "https://package.readthedocs.io/"
"Bug Tracker" = "https://github.com/rly/ndx-pose/issues"
# "Discussions" = "https://github.com/organization/package/discussions"
"Changelog" = "https://github.com/rly/ndx-pose/blob/main/CHANGELOG.md"
[tool.hatch.build]
include = [
"src/pynwb",
"spec/ndx-pose.extensions.yaml",
"spec/ndx-pose.namespace.yaml",
]
exclude = [
"src/pynwb/tests",
]
[tool.hatch.build.targets.wheel]
packages = [
"src/pynwb/ndx_pose",
"spec"
]
[tool.hatch.build.targets.wheel.sources]
"spec" = "ndx_pose/spec"
[tool.hatch.build.targets.sdist]
include = [
"src/pynwb",
"spec/ndx-pose.extensions.yaml",
"spec/ndx-pose.namespace.yaml",
"docs",
]
exclude = []
[tool.pytest.ini_options]
# uncomment below to run pytest with code coverage reporting. NOTE: breakpoints may not work
# addopts = "--cov --cov-report html"
[tool.codespell]
skip = "htmlcov,.git,.mypy_cache,.pytest_cache,.coverage,*.pdf,*.svg,venvs,.tox,hdmf-common-schema,./docs/_build/*,*.ipynb"
[tool.coverage.run]
branch = true
source = ["src/pynwb"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@abstract"
]
[tool.black]
line-length = 120
preview = true
exclude = ".git|.mypy_cache|.tox|.venv|venv|.ipynb_checkpoints|_build/|dist/|__pypackages__|.ipynb|docs/"
[tool.ruff]
select = ["E", "F", "T100", "T201", "T203"]
exclude = [
".git",
".tox",
"__pycache__",
"build/",
"dist/",
"docs/source/conf.py",
]
line-length = 120
[tool.ruff.per-file-ignores]
"src/pynwb/ndx_pose/__init__.py" = ["E402", "F401"]
"src/pynwb/ndx_pose/io/__init__.py" = ["F401"]
"src/spec/create_extension_spec.py" = ["T201"]
"src/pynwb/tests/test_example_usage.py" = ["T201"]
[tool.ruff.mccabe]
max-complexity = 17