-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (56 loc) · 1.31 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project]
dependencies = [
"rich_argparse",
"pybids",
"nibabel",
"jinja2"
]
dynamic = ["version"]
license = {text = "MIT"}
name = "cat12"
readme = "README.md"
requires-python = ">=3.9"
[project.optional-dependencies]
docs = [
"myst-parser",
"sphinx",
"sphinx-argparse",
"sphinx-copybutton",
"pydata-sphinx-theme",
"sphinx-togglebutton"
]
[project.scripts]
cat12 = "cat12.main:main"
[tool.codespell]
builtin = "clear,rare"
[tool.hatch.build.hooks.vcs]
version-file = "src/cat12/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/cat12"]
[tool.hatch.version]
source = "vcs"
[tool.ruff]
include = ["pyproject.toml", "src/**/*.py", "scripts/**/*.py"]
indent-width = 4
line-length = 79
target-version = "py39"
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"
indent-style = "space"
line-ending = "auto"
quote-style = "double"
skip-magic-trailing-comma = false
[tool.ruff.lint]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
fixable = ["ALL"]
ignore = []
select = ["E", "F", "W", "C90", "I", "D", "B", "UP", "N", "ARG", "PTH", "FLY", "RUF"]
unfixable = []
[tool.ruff.lint.mccabe]
max-complexity = 20
[tool.ruff.lint.pydocstyle]
convention = "numpy"