generated from nipreps/Cookiecutter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
114 lines (100 loc) · 1.97 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "nipreps-synthstrip"
description = "NiPreps implementation of FreeSurfer's SynthStrip"
readme = "README.md"
license = {file = "LICENSE"}
maintainers = [
{name = "Nipreps developers", email = "[email protected]"},
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
dependencies = [
"nibabel",
"nitransforms",
"numpy",
"scipy",
"torch >= 1.10.2",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/nipreps/synthstrip"
[project.optional-dependencies]
dev = [
"ruff",
"hatch",
]
nipype = [
"nipype",
]
pydra = [
"pydra",
]
test = [
"pytest",
]
[project.scripts]
nipreps-synthstrip = "nipreps.synthstrip.cli:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "nipreps/synthstrip/_version.py"
[tool.hatch.build.sources]
"nipreps/synthstrip" = "nipreps/synthstrip"
[tool.hatch.build.targets.wheel]
packages = ["nipreps/synthstrip"]
[tool.black]
exclude = '.*'
[tool.ruff]
line-length = 99
[tool.ruff.lint]
extend-select = [
"F",
"E",
"W",
"I",
"UP",
"YTT",
"S",
"BLE",
"B",
"A",
# "CPY",
"C4",
"DTZ",
"T10",
# "EM",
"EXE",
"FA",
"ISC",
"ICN",
"PT",
"Q",
]
ignore = [
"S311", # We are not using random for cryptographic purposes
"ISC001",
"S603",
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
[tool.ruff.format]
quote-style = "single"
[tool.coverage.run]
branch = true
omit = [
"*/_version.py"
]