-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathpyproject.toml
50 lines (46 loc) · 1020 Bytes
/
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
[tool.ruff]
select = [
"C4", # flake8-comprehensions
"C90", # mccabe
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"ICN", # flake8-import-conventions
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PLC", # Pylint conventions
"PLE", # Pylint errors
"PLR091", # Pylint refactor just for max-args, max-branches, etc.
"PYI", # flake8-pyi
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"T10", # flake8-debugger
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = [
"E402",
"E722",
"F401",
"F403",
"F405",
"F841",
"PLC1901",
"RUF001",
]
line-length = 616
target-version = "py37"
[tool.ruff.mccabe]
max-complexity = 21
[tool.ruff.pylint]
max-args = 8
max-branches = 18
max-statements = 73
[tool.ruff.per-file-ignores]
"test/*" = ["S101"]
[tool.codespell]
ignore-words-list = 'didnt'
skip = './.*,*.xsd'