-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
30 lines (26 loc) · 1019 Bytes
/
Copy pathpyproject.toml
File metadata and controls
30 lines (26 loc) · 1019 Bytes
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
[tool.ruff]
extend = "ruff-strict.toml"
[tool.ruff.format]
exclude = [
"src/devpi_constrained/__init__.py",
"src/devpi_constrained/main.py",
"src/devpi_constrained/tests/test_constrained.py",
]
[tool.ruff.lint.extend-per-file-ignores]
"src/devpi_constrained/main.py" = [
"ARG002", # maybe cleanup later - unused method argument
"B904", # maybe cleanup later
"BLE001", # cleanup later
"I001", # maybe cleanup later - import block unsorted
"PLW2901", # maybe cleanup later
"RET503", # maybe cleanup later - missing return
"UP004", # cleanup later - inherit from 'object'
"UP031", # maybe cleanup later - printf string formatting
]
"src/devpi_constrained/tests/test_constrained.py" = [
"ARG001", # maybe cleanup later - unused function argument
"B905", # cleanup later
"I001", # maybe cleanup later - import block unsorted
"RET504", # maybe cleanup later - unnecessary assignment before return
"UP031", # maybe cleanup later - printf string formatting
]