-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
149 lines (134 loc) · 3.29 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project]
authors = [{name = "PyBIDS Developers", email = "[email protected]"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering"
]
dependencies = [
"chevron",
"pybids>=0.18",
"nibabel",
"num2words",
"rich"
]
description = "pybids-reports: report generator for BIDS datasets"
dynamic = ["version"]
license = {file = "LICENSE"}
maintainers = [{name = "PyBIDS Developers", email = "[email protected]"}]
name = "pybids_reports"
readme = "README.md"
requires-python = ">=3.9"
[project.optional-dependencies]
ci_tests = [
"pybids_reports[test]",
"pytest-xdist"
]
dev = [
"pybids_reports[doc]",
"pybids_reports[test]"
]
doc = [
"furo",
"myst-parser",
"nbsphinx",
"numpydoc",
"sphinx",
"sphinx-argparse",
"sphinx-copybutton",
"sphinx_gallery"
]
docs = ["pybids_reports[doc]"]
test = [
"codecov",
"flake8-black",
"flake8-docstrings",
"flake8-isort",
"pytest>=3.3",
"pytest-cov"
]
tests = ["pybids_reports[test]"]
[project.scripts]
pybids_reports = "bids.ext.reports.cli:cli"
[project.urls]
"Bug tracker" = "http://github.com/bids-standard/pybids-reports/issues"
Documentation = "https://pybids-reports.readthedocs.io/en/latest/"
Homepage = "http://github.com/bids-standard/pybids-reports"
[tool.black]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.github
| \.hg
| \.pytest_cache
| _build
| build
| dist
)/
| bids/ext/reports/_version.py
| bids/ext/reports/due.py
)
'''
include = '\.pyi?$'
line-length = 99
target-version = ['py39']
[tool.codespell]
ignore-words-list = "te"
skip = "./.git,tests/data/*"
[tool.coverage.paths]
source = [
"bids/ext/reports",
"**/bids/ext/reports"
]
[tool.coverage.report]
include_namespace_packages = true
# Regexes for lines to exclude from consideration
omit = [
"*/templates/*"
]
[tool.hatch.build.hooks.vcs]
version-file = "bids/ext/reports/_version.py"
[tool.hatch.build.targets.wheel]
only-include = ["bids/ext/reports"]
packages = ["bids"]
[tool.hatch.version]
source = "vcs"
[tool.isort]
combine_as_imports = true
line_length = 99
profile = "black"
skip_gitignore = true
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
exclude = ['bids/ext/reports/tests/']
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_errors = true
module = [
'bids.ext.reports.tests.*',
'bids.ext.reports._version.*',
'bids.ext.reports.due.*'
]
[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers --showlocals -s -vv --durations=0"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
junit_family = "xunit2"
minversion = "6.0"
norecursedirs = "bids/ext/reports/templates"
xfail_strict = true