forked from BrownBiomechanics/SlicerAutoscoperM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (51 loc) · 1.4 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
[tool.black]
line-length = 120
target_version = ['py39']
[tool.ruff]
select = [
"ARG", # flake8-unused-arguments
# "ANN", # flake8-annotations
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", "F", "W", # flake8
"EXE", # flake8-executable
"G", # flake8-logging-format
"I", # isort
"ICN", # flake8-import-conventions
"ISC", # flake8-implicit-str-concat
"NPY", # NumPy specific rules
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"PT", # flake8-pytest-style
"RET", # flake8-return
"RUF", # Ruff-specific
"S", # flake8-bandit
"SIM", # flake8-simplify
"UP", # pyupgrade
"YTT", # flake8-2020
]
extend-ignore = [
"ANN101", # missing-type-self
"G004", # logging-f-string
"PIE790", # unnecessary-pass
"EXE001", # Allow use of shebang at top of file. Needed for Scripted CLI
]
target-version = "py39"
line-length = 120
flake8-annotations.suppress-dummy-args = true
flake8-annotations.suppress-none-returning = true
isort.known-third-party = [
"ctk",
"qt",
"slicer",
"SlicerCustomAppUtilities",
"vtk",
]
isort.known-first-party = [
"AutoscoperM",
"AutoscoperMLib",
"TrackingEvaluation",
"TrackingEvaluationLib",
]
pylint.max-args = 7