-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
81 lines (74 loc) · 1.56 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
[tool.poetry]
name = "nilabels"
version = "0.1.0"
description = ""
authors = ["SebastianoF <[email protected]>"]
license = "MIT License"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
matplotlib = "^3.8.4"
nibabel = ">=2.3.3"
numpy = "^1.16.0"
pandas = ">=0.23.4"
scipy = ">=1.2.0"
setuptools = ">=40.6.3"
scikit-image = ">=0.14.2"
sympy = ">=1.3"
tabulate = ">=0.8.2"
scikit-learn = ">=1.5.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
ruff = "^0.3.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = ["ALL"]
ignore = [
"FIX002", # TODOs related
"TD002",
"TD003",
"TD004",
"TD005",
"D103", # docstring missing. Not all functions require doctsings
"D100", # docstring missing. Not all modules require doctsings
"D107", # missing docstrings
"D", # TODO
"ANN", # TODO
"NPY",
"PTH",
"FBT",
"S101", # we don't dislike assert statements
"PLR0913", # too many arguments allowed
"PLR2004", # magic values allowed
"N806", # uppercase variable name
"ERA001", # commented out code
"EM101",
"EM103",
"RUF005",
"PLR0915",
"TCH002", # false positives
"E741",
"TRY003",
"T201", # some print statements
"N",
"SIM115", # TODO
"PD901",
"ISC001",
"B008",
"RET504",
"PLR0912",
"SIM118",
"PLR0912",
"C901",
"SIM108",
"S602",
"PERF401",
"UP030",
"E501",
"S605",
"S605",
]