-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
92 lines (79 loc) · 2.02 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project]
authors = [{name = "Remi Gau"}]
dependencies = [
"numpy~=1.26.4",
"pandas",
"Jinja2",
'loguru',
"rich_argparse",
"ruamel.yaml"
]
description = "Statistical learning for neuroimaging in Python"
# Version from setuptools_scm
dynamic = ["version"]
license = {text = "GPL 3.0"}
maintainers = [{name = "Remi Gau", email = "[email protected]"}]
name = "ecobidas"
readme = "README.md"
requires-python = ">=3.8"
[project.optional-dependencies]
dev = [
'tox'
]
test = [
"coverage",
"pytest>=6.0.0",
"pytest-cov"
]
[project.scripts]
ecobidas = "ecobidas.cli:cli"
[tool.black]
line-length = 100
[tool.codespell]
ignore-words-list = "jist,softwares,te,fwe,als,nd"
skip = "./.git,*.svg,reproschema-ui,node_modules,env,reproschema-py,htmlcov,package-lock.json"
[tool.hatch.build.hooks.vcs]
version-file = "ecobidas/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["ecobidas"]
[tool.hatch.version]
source = "vcs"
[tool.isort]
combine_as_imports = true
line_length = 100
profile = "black"
skip_gitignore = true
[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 = [
"ecobidas._version",
"rich_argparse",
"loguru",
"reproschema.*",
"rich",
"ruamel.yaml"
]
[[tool.mypy.overrides]]
ignore_errors = true
module = ['tests.*']
[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers --doctest-modules --showlocals -s -v --ignore=tools --ignore=reproschema-py --ignore=cobidas_schema --ignore=artemis_schema"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
junit_family = "xunit2"
minversion = "6.0"
xfail_strict = true