misc(repo): adding some more stuff to the ruff configs

This commit is contained in:
Seaswimmer 2024-02-14 10:51:10 -05:00
parent 5aff4afad1
commit dd9e221e2d
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -75,7 +75,7 @@ target-version = "py311"
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default. # McCabe complexity (`C901`) by default.
select = ["E4", "E7", "E9", "F", "W"] select = ["F", "W", "E", "C901"]
ignore = [] ignore = []
# Allow fix for all enabled rules (when `--fix`) is provided. # Allow fix for all enabled rules (when `--fix`) is provided.