-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (95 loc) · 2.13 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
[build-system]
requires = ["flit_scm"]
build-backend = "flit_scm:buildapi"
[project]
name = "nipreps_versions"
description = "Version schemes for nipreps tools"
authors = [{name = "Chris Markiewicz", email = "markiewicz@stanford.edu"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Version Control",
"Topic :: System :: Software Distribution",
"Topic :: Utilities",
]
dynamic = ["version"]
dependencies = [
"setuptools_scm >=7",
"packaging",
]
requires-python = ">=3.8"
[project.urls]
Home = "https://github.com/nipreps/version-schemes"
"Nipreps" = "https://www.nipreps.org"
[project.entry-points."setuptools_scm.version_scheme"]
nipreps-calver = "nipreps_versions.schemes:nipreps_calver"
[tool.flit.sdist]
include = ["tox.ini", "tests/*.py"]
[tool.setuptools_scm]
write_to = "src/nipreps_versions/_version.py"
[tool.mypy]
python_version = "3.8"
[[tool.mypy.overrides]]
module = ["setuptools_scm.version", "setuptools_scm.config"]
ignore_missing_imports = true
[tool.coverage.run]
omit = ["_version.py"]
[tool.coverage.report]
fail_under = 100
[tool.ruff]
extend-exclude = ["_version.py"]
[tool.ruff.lint]
extend-select = [
"W",
"C90",
"I",
"N",
# "D", # pydocstyle
"UP",
"YTT",
"ANN", # annotations
# "S", # bandit
"BLE",
"FBT",
"B",
"A",
"C4",
"DTZ",
"T10",
"EM",
"EXE",
"ISC",
"ICN",
"PIE",
"T20",
"PYI",
"PT", # pytest-style
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
# "SIM", # simplify
"TID",
"TCH",
"ARG",
"ERA",
"PL",
"FLY",
"PERF",
"RUF",
]
[tool.ruff.lint.isort]
known-first-party = ["nipreps_versions"]