-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
167 lines (150 loc) · 3.93 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project]
authors = [{name = "Remi Gau", email = "[email protected]"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing"
]
dependencies = [
"antspyx<0.5",
"attrs",
"deepmreye>=0.2.1",
"jinja2",
"kaleido",
"keras<3.0.0",
"pooch>=1.6.0",
"pybids",
"tqdm",
"tomli; python_version < '3.11'",
"rich_argparse"
]
description = "bids app using deepMReye to decode eye motion for fMRI time series data"
dynamic = ["version"]
keywords = [
"BIDS",
"brain imaging data structure",
"neuroimaging",
"automated pipeline",
"MRI",
"Eyetracking",
"Machine learning"
]
license = {file = "LICENSE"}
name = "bidsmreye"
readme = "README.md"
requires-python = ">=3.9.0"
[project.optional-dependencies]
dev = ["bidsmreye[doc,test,style]"]
# also stored in docs/requirements.txt
# to speed up readthedocs build
doc = [
"faqtory",
"myst-parser",
"rstcheck",
"sphinx",
"sphinx-argparse",
"sphinx-copybutton",
"sphinx-rtd-theme",
"sphinxcontrib-bibtex"
]
docs = ["bidsmreye[doc]"]
style = ["pre-commit", "sourcery"]
test = ["pytest", "pytest-cov"]
tests = ["bidsmreye[test]"]
[project.scripts]
bidsmreye = "bidsmreye._cli:cli"
bidsmreye_model = "bidsmreye._cli:cli_download"
[project.urls]
"Bug Tracker" = "https://github.com/cpp-lln-lab/bidsMReye/issues"
Homepage = "https://github.com/cpp-lln-lab/bidsMReye"
[tool.black]
line-length = 90
[tool.codespell]
builtin = "clear,rare"
ignore-words-list = "fo,slite"
skip = "*.svg,*.eps,.git,env,*build,.mypy*,outputs,.mypy_cache,moae_fmriprep,bidsmreye/templates/CITATION.bib"
[tool.hatch.build.hooks.vcs]
version-file = "bidsmreye/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["bidsmreye"]
[tool.hatch.version]
source = "vcs"
[tool.importlinter]
ignore_imports = ["bidsmreye._version"]
root_package = "bidsmreye"
[[tool.importlinter.contracts]]
containers = "bidsmreye"
layers = [
"_cli",
"_parsers | bidsmreye",
"prepare_data | generalize | download",
"quality_control",
"visualize",
"bids_utils",
"methods",
"report",
"utils",
"configuration",
"logger",
"defaults"
]
name = "Layered architecture"
type = "layers"
[tool.isort]
combine_as_imports = true
line_length = 90
profile = "black"
skip_gitignore = true
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = false
disallow_untyped_defs = false
# enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
exclude = ['tests/']
no_implicit_optional = true
plugins = ["numpy.typing.mypy_plugin", "pydantic.mypy"]
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_errors = true
module = ['bids.*', "bidsmreye._version"]
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
'attrs.*',
'bids.layout.*',
"bidsmreye._version",
'chevron.*',
'deepmreye.*',
'nibabel.*',
'pandas.*',
'plotly.*',
'pooch.*',
'rich.*',
'scipy.*',
"rich_argparse"
]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[tool.pytest.ini_options]
addopts = "-ra --cov bidsmreye --strict-config --strict-markers --doctest-modules --showlocals -s -vv --durations=0"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
junit_family = "xunit2"
log_cli_level = "INFO"
minversion = "6.0"
testpaths = ["tests"]
xfail_strict = true