forked from tedchoward/Frontier
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
22 lines (21 loc) · 616 Bytes
/
Copy pathpyproject.toml
File metadata and controls
22 lines (21 loc) · 616 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[tool.ruff]
target-version = "py310"
exclude = [
"tests/vendor/**",
"third_party/**",
"tests/tmp/**",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"B", # flake8-bugbear (likely bugs)
"SIM", # flake8-simplify
]
ignore = [
"E741", # ambiguous variable name — legacy code uses short names
"E501", # line too long — not enforcing yet
"SIM105", # suppressible-exception — contextlib.suppress is less clear in scripts
"SIM108", # if-else-block-instead-of-if-exp — ternary not always clearer
]