chore(repo): enable more ruff linting rules

This commit is contained in:
cswimr 2025-01-26 13:08:28 +00:00
parent 0492b30662
commit 41678ef3ed
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -84,7 +84,7 @@ target-version = "py311"
# 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 = ["I", "N", "F", "W", "E", "G", "INP", "T20", "PLC", "PLE", "PLW", "PLR"]
select = ["I", "N", "F", "W", "E", "G", "INP", "T20", "PLC", "PLE", "PLW", "PLR", "LOG"]
ignore = ["PLR0912", "PLR0915", "PLR2004"]
# Allow fix for all enabled rules (when `--fix`) is provided.