-
-
Notifications
You must be signed in to change notification settings - Fork 558
/
Copy pathruff.toml
53 lines (50 loc) · 1.07 KB
/
ruff.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
fix = true
unsafe-fixes = true
line-length = 85
target-version = "py312"
[lint.mccabe]
max-complexity = 100
[lint]
select = [
"E", # pycodestyle: error
"F", # pyflakes
"I", # isort
"W", # pycodestyle: warning
"B", # flake8-bugbear
"N", # pep8-naming
"C4", # flake8-comprehensions
"UP", # pyupgrade
"FA", # flake8-future-annotations
"PL", # pylint
"PIE", # flake8-pie
"PYI", # flake8-pyi
"RET", # flake8-return
"RUF", # ruff
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"ARG", # flake8-unused-arguments
"C90", # mccabe
"COM", # flake8-commas
"FURB", # refurb
"PERF", # perflint
"ASYNC", # flake8-async
]
ignore = [
"E501",
"F403",
"N801",
"N806",
"N818",
"PLR09",
"RUF002",
"SIM115",
"PERF203",
"PLR0912",
"PLR0913",
"PLR0915",
"PLR2004",
"PLR1702",
"PLW1514",
"PLW2901",
]