-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
136 lines (123 loc) · 3.12 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project]
authors = [{name = "Rémi Gau"}]
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"dash",
"dash-bootstrap-components",
"datalad",
'datalad-fuse',
"kaleido",
"matplotlib",
"mne",
'nibabel',
"pandas",
"pybids",
"plotly",
"pyyaml",
"requests",
"rich",
"rich_argparse"
]
description = "Creates a neuroimaging cohort by aggregating data across datasets."
dynamic = ["version"]
license = {text = "MIT"}
maintainers = [{name = "Rémi Gau", email = "[email protected]"}]
name = "cohort_creator"
readme = "README.md"
requires-python = ">=3.10"
[project.optional-dependencies]
dev = [
"cohort_creator[doc,test]",
"gender_guesser",
"pandas-stubs",
"pre-commit"
]
doc = [
"furo",
"myst-parser",
"numpydoc",
"sphinx",
"sphinx-argparse",
"sphinx-copybutton"
]
docs = ["cohort_creator[doc]"]
test = ["pytest", "pytest-cov"]
tests = ["cohort_creator[test]"]
[project.scripts]
cohort_creator = "cohort_creator._cli:cli"
[project.urls]
"Bug trakcer" = "https://github.com/neurodatascience/cohort_creator/issues"
Documentation = "https://cohort-creator.readthedocs.io/en/latest/"
Homepage = "https://github.com/neurodatascience/cohort_creator"
[tool.black]
extend-exclude = '''
(
^/tests/data
)
'''
line-length = 100
[tool.codespell]
skip = "./.git,.mypy_cache,env,venv,outputs,htmlcov,bids-examples,**/openneuro.tsv,locations.tsv"
[tool.hatch.build.hooks.vcs]
version-file = "cohort_creator/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["cohort_creator"]
[tool.hatch.version]
source = "vcs"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
enable_error_code = ["ignore-without-code", "redundant-expr"] # "truthy-bool"
no_implicit_optional = true
show_error_codes = true
# strict = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"bids.*",
"cohort_creator._version",
"dash.*",
"dash_bootstrap_components.*",
"datalad.*",
"geopy.*",
"matplotlib",
"mne.*",
"pandas",
"plotly.*",
"pytest",
"rich.*",
"rich_argparse"
]
[[tool.mypy.overrides]]
ignore_errors = true
module = ['tests.*']
[tool.pytest.ini_options]
addopts = "-ra -q -vv --showlocals --strict-markers --strict-config --cov cohort_creator --cov-report=html"
# filterwarnings = ["error"]
# log_cli_level = "warning"
minversion = "6.0.0"
norecursedirs = "data"
testpaths = ["tests/"]
xfail_strict = true