-
Notifications
You must be signed in to change notification settings - Fork 97
/
pyproject.toml
135 lines (120 loc) · 3.25 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project]
authors = [{name = "Neurodocker Developers"}]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"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 = {text = "Apache License, 2.0"}
maintainers = [{name = "Jakub Kaczmarzyk", email = "[email protected]"}]
name = "neurodocker"
readme = "README.md"
requires-python = ">=3.9"
[project.optional-dependencies]
all = ["neurodocker[minify,dev,doc]"]
dev = [
"neurodocker[minify]",
"codecov",
"coverage[toml]",
"pre-commit",
"pytest >= 6.0",
"pytest-cov >= 2.0.0",
"pytest-reportlog >= 0.1.2",
"pytest-xdist >= 2.2.0"
]
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.black]
line-length = 88
target-version = ['py39']
[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.isort]
combine_as_imports = true
line_length = 88
profile = "black"
skip_gitignore = true
src_paths = [
'neurodocker',
'docs'
]
[tool.mypy]
no_implicit_optional = false
[[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"
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