-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (118 loc) · 3.26 KB
/
Copy pathpyproject.toml
File metadata and controls
133 lines (118 loc) · 3.26 KB
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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.27.0", "hatch-vcs"]
[project]
authors = [{name = "Neurodocker Developers"}]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = [
"click",
"etelemetry >= 0.2.0",
"jinja2 >= 2.0",
"jsonschema >= 3.0",
"mypy-extensions",
"pyyaml >= 5.0",
"typing-extensions"
]
description = "A generic generator of Dockerfiles and Singularity recipes."
dynamic = ["version"]
license = "Apache-2.0"
license-files = ["LICENSE"]
maintainers = [{name = "Jakub Kaczmarzyk", email = "jakub.kaczmarzyk@gmail.com"}]
name = "neurodocker"
readme = "README.md"
requires-python = ">=3.10"
[project.optional-dependencies]
all = ["neurodocker[minify,dev,doc]"]
dev = [
"neurodocker[minify]",
"codecov",
"coverage[toml]",
"mypy",
"prek",
"pytest >= 6.0",
"pytest-cov >= 2.0.0",
"pytest-reportlog >= 0.1.2",
"pytest-xdist >= 2.2.0",
"types-PyYAML"
]
doc = [
"sphinx <7",
"pydata-sphinx-theme >= 0.13",
"sphinxcontrib.apidoc >= 0.3"
]
minify = [
"docker >= 4.4.1"
]
[project.scripts]
neurodocker = "neurodocker.cli.cli:cli"
[project.urls]
Development = "https://github.com/repronim/neurodocker"
Homepage = "https://www.repronim.org/neurodocker/"
[tool.codespell]
# didi -- some name Dear to someone
ignore-words-list = "didi"
skip = ".git,*.pdf,*.svg,versioneer.py,neurodocker/_version.py"
[tool.coverage.run]
omit = [
"*/tests/*",
"neurodocker/_version.py"
]
[tool.hatch.build.hooks.vcs]
version-file = "neurodocker/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["neurodocker"]
[tool.hatch.version]
source = "vcs"
[tool.mypy]
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
no_implicit_optional = false
warn_unreachable = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"pytest",
"docker",
"jsonschema",
"neurodocker._version"
]
[[tool.mypy.overrides]]
ignore_errors = true
module = [
"neurodocker._version",
"neurodocker.reproenv.tests.*",
'download_templates',
'conf'
]
[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers --showlocals -s -vv --cov=neurodocker --cov-config=pyproject.toml"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
filterwarnings = ["error"]
junit_family = "xunit2"
markers = [
"builds_docker: builds a docker image",
"builds_singularity: builds a singularity image",
"long: mark a test as taking a long time (minutes)",
"verylong: mark a test as taking a very long time (over 10 minutes)"
]
minversion = "6.0"
xfail_strict = true
[tool.ruff.lint]
extend-select = [
"I" # isort
]
[tool.ruff.lint.per-file-ignores]
"neurodocker/reproenv/tests/test_state.py" = ["E714"]