forked from ClangBuiltLinux/boot-utils
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathruff.toml
32 lines (31 loc) · 822 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
target-version = 'py38'
# https://docs.astral.sh/ruff/rules/
[lint]
select = [
'A', # flake8-builtins
'ARG', # flake8-unused-arguments
'B', # flake8-bugbear
'C4', # flake8-comprehensions
'E', # pycodestyle
'F', # pyflakes
'PIE', # flake8-pie
'PL', # pylint
'PTH', # flake8-use-pathlib
'RET', # flake8-return
'RUF', # ruff
'S', # flake8-bandit
'SIM', # flake8-simplify
'SLF', # flake8-self
'UP', # pyupgrade
'W', # pycodestyle
]
ignore = [
'E501', # line-too-long
'PLR0911', # too-many-return-statments
'PLR0912', # too-many-branches
'PLR0913', # too-many-arguments
'PLR0915', # too-many-statements
'PLR2004', # magic-value-comparison
'S603', # subprocess-without-shell-equals-true
'S607', # start-process-with-partial-path
]