Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,17 @@ indent-width = 4
target-version = "py312"

[lint]
# Currently only enabled for F (Pyflakes), I (isort), E,W (pycodestyle:Error/Warning), PLC/PLE (Pylint:Convention/Error)
# and PERF (Perflint) rules: https://docs.astral.sh/ruff/rules/
select = ["F", "I", "E", "W", "PLC", "PLE", "PERF"]
# https://docs.astral.sh/ruff/rules/
select = [
"ASYNC", # flake8-async - async checks
"E", # pycodestyle - error rules
"F", # pyflakes - general Python errors, undefined names
"I", # isort - import sorting
"PERF", # perflint - performance anti-pattern rules
"PLC", # pylint - convention rules
"PLE", # pylint - error rules
"W", # pycodestyle - warning rules
]
ignore = ["F405", "F403", "E501", "E712"]

# Allow fix for all enabled rules (when `--fix`) is provided.
Expand Down
Loading