forked from cswimr/SeaCogs
style(repo): enable some more linting rules
This commit is contained in:
parent
e5210420cb
commit
06e678f26f
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ 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 = ["F", "W", "E", "C901"]
|
||||
ignore = ["C901"]
|
||||
select = ["I", "N", "F", "W", "E", "G", "INP", "T20", "PLC", "PLE", "PLW", "PLR"]
|
||||
ignore = ["PLR0912", "PLR0915", "PLR2004"]
|
||||
|
||||
# Allow fix for all enabled rules (when `--fix`) is provided.
|
||||
fixable = ["ALL"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue