-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruff.toml
33 lines (32 loc) · 818 Bytes
/
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
target-version = "py39"
[lint]
select = [
"F", # pyflakes
"E", # pycodestyle-error
"W", # pycodestyle-warning
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"ANN", # flake8-annotations
"BLE", # flake8-blind-except
"FBT", # flake8-boolean-trap
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"EXE", # flake8-executable
"FA", # flake8-future-annotations
"LOG", # flake8-logging
"G", # flake8-logging-format
"PIE", # flake8-pie
"SIM", # flake8-simplifiy
"ARG", # flake8-unused-arguments
"ERA", # eradicate
"TRY", # tryceratops
"PERF", # perflint
"FURB", # refurb
"RUF", # ruff-specific rules
]
ignore = [
"ANN401", # any-type
]