Skip to content

Commit

Permalink
ci: Add additional ruff rules to pyproject.toml
Browse files Browse the repository at this point in the history
Only highly autofixable groups from [vega#3430](vega#3430).
Aiming to refine further, depending on how much manual fixing this generates.
  • Loading branch information
dangotbanned committed Jun 5, 2024
1 parent 18a2c3c commit de50aa9
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,26 @@ select = [
"C4",
# pycodestyle-error
"E",
# pycodestyle-warning
"W",
# flake8-errmsg
"EM",
# pyflakes
"F",
# flynt
"FLY",
# flake8-pie
"PIE",
# Ruff-specific rules
"RUF",
# flake8-simplify
"SIM",
# flake8-type-checking
"TCH",
# flake8-tidy-imports
"TID",
# flake8-simplify
"SIM101"
# pyupgrade
"UP",
# pycodestyle-warning
"W",
]
ignore = [
# Whitespace before ':'
Expand Down

0 comments on commit de50aa9

Please sign in to comment.