Skip to content

Commit

Permalink
chore: Adds more codes to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarofpp committed Feb 16, 2024
1 parent be1c613 commit 7fa8966
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion linter/.lint/.ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,20 @@ target-version = "py38"
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F"]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = []

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

0 comments on commit 7fa8966

Please sign in to comment.