Add additional checks to ruff
Here we can discuss whether we want to add additional rules to the ruff formatter.
-
List of all available rules: https://docs.astral.sh/ruff/rules/
-
Default ruleset:
select = ["E4", "E7", "E9", "F"]
-
Recommended ruleset: https://docs.astral.sh/ruff/linter/#rule-selection
[tool.ruff.lint] select = [ "B", # flake8-bugbear "E", # pycodestyle "F", # Pyflakes "I", # isort "SIM", # flake8-simplify "UP", # pyupgrade ]
-
Replace isort:
extend-select = ["I"]
Edited by Henri Menke