forked from Mirrors/itch-dl
Enable lots of extra Ruff checks
Warns about various small code smells and odd issues we can catch early. Nothing here should change the program behavior directly.
This commit is contained in:
@@ -43,4 +43,6 @@ line-length = 120
|
||||
target-version = "py38"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E4", "E7", "E9", "F", "B", "C4", "T10", "N", "UP", "S"]
|
||||
# https://docs.astral.sh/ruff/rules/
|
||||
select = ["F", "E", "N", "UP", "ANN", "S", "B", "A", "COM", "C4", "T10", "ISC", "LOG", "Q", "SIM", "TC", "ARG", "PGH", "PLE", "PLW", "RUF", "G"]
|
||||
ignore = ["COM812"]
|
||||
|
||||
Reference in New Issue
Block a user