-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
136 lines (121 loc) · 2.79 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 = "bidspm developers"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3"
]
dependencies = [
"bsmschema",
"rich",
"rich-argparse"
]
description = "SPM centric bids app"
# Version from setuptools_scm
dynamic = ["version"]
license = {text = "GPL-3.0"}
maintainers = [{name = "Rémin Gau", email = "remi.gau@gmail.com"}]
name = "bidspm"
readme = "README.md"
requires-python = ">=3.8"
[project.optional-dependencies]
demo = [
"jupyterlab",
"octave-kernel"
]
dev = [
"bidspm[demo,doc,style,test]",
"cffconvert",
"ruamel.yaml",
'pandas'
]
doc = [
"urllib3",
"faqtory",
"myst-parser",
"sphinx",
"sphinx-argparse",
"sphinx-copybutton",
"pydata-sphinx-theme",
"sphinx-togglebutton",
"sphinxcontrib-bibtex",
"sphinxcontrib-matlabdomain>=0.22.1",
"sphinxcontrib-mermaid",
"setuptools"
]
docs = ["bidspm[doc]"]
style = [
"pre-commit",
"sourcery"
]
test = [
"coverage",
"pytest"
]
[project.scripts]
bidspm = "bidspm.cli:cli"
validate_model = "bidspm.validate:cli"
[project.urls]
Homepage = "https://bidspm.readthedocs.io"
[tool.black]
extend-exclude = """
(
demos/renaming/spm_2_bids_filenames.ipynb
| demos/MoAE/moae_01_bids_app.ipynb
)
"""
line-length = 90
[tool.codespell]
builtin = "clear,rare"
ignore-words-list = "fo,te,als,ane,nin,fot,fwe,commun,ons,buildd"
skip = "*.tsv,*.json,*.nii*,*.js,*.svg,*.eps,*.log,.git,env,build,lib,options,outputs,inputs,bids-examples,stats_model,coverage_html,ds001734"
[tool.coverage.report]
omit = [
"*_version.py",
"__init__.py"
]
show_missing = true
skip_covered = true
[tool.coverage.run]
branch = true
[tool.hatch.build.hooks.vcs]
version-file = "src/bidspm/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/bidspm"]
[tool.hatch.version]
source = "vcs"
[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 = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"bsmschema.models",
"rich",
"rich.logging",
"rich_argparse",
"bidspm._version",
"pydantic" # just to silence errors
]
[tool.pytest.ini_options]
addopts = "-ra -q -vv --showlocals --strict-markers --strict-config"
# filterwarnings = ["error"]
# log_cli_level = "warning"
minversion = "6.0.0"
norecursedirs = "data"
testpaths = ["tests/"]
xfail_strict = true