Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 1af369e

Browse files
chore: Add async linting (#968)
1 parent 70b4692 commit 1af369e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

ruff.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,17 @@ indent-width = 4
3636
target-version = "py312"
3737

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

4452
# Allow fix for all enabled rules (when `--fix`) is provided.

0 commit comments

Comments
 (0)