forked from packit/packit-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruff.toml
30 lines (28 loc) · 850 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
line-length = 100
target-version = "py39"
[lint]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"COM", # flake8-commas
"E", # pycodestyle Error
"F", # Pyflakes
"I", # isort
"PERF",# Perflint
"PIE", # flake8-pie
# "PT", # flake8-pytest-style, would be nice to enable
"RET", # flake8-return
"RUF", # Ruff-specific rules
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle Warning
]
ignore = [
"B017", # assert-raises-exception
"B022", # useless-contextlib-suppress
"RUF001", # String contains ambiguous character
"RUF002", # Docstring contains ambiguous character
"RUF003", # Comment contains ambiguous character
"E701", # Multiple statements on one line (colon)
"COM812", # Can cause conflict with the formatter
]