Remove a lot of deprecated ruff rules and format

This commit is contained in:
Trysdyn Black 2025-05-23 14:26:28 -07:00
parent 5eba7b207f
commit a3b5a4347c

View file

@ -11,34 +11,35 @@ preview = true
# - CPY: Copyright notice screamer; I don't care
# - TD: Overly opinionated on FIXME/TODO format. FIX covers better
lint.select = [
"ANN", # enforce type annotations
"A", # prevent using keywords that clobber python builtins
"ARG", # argument usage checking
"B", # bugbear: security warnings
"C4", # generator usage
"C90", # mccabe code complexity
"COM", # comma usage
"D", # pydocstyle
"DTZ", # datetimez sanity
"E", # pycodestyle errors
"EM", # error message handling
"F", # pyflakes - should be enabled but make explicit
"ERA", # commented code screamer
"FBT", # boolean traps
"FIX", # fixme screamer
"F", # pyflakes
"G", # logging handling
"I", # isort
"ISC", # implicit string concatenation
"PIE", # pie stuff
"PL", # pylint rules
"PTH", # pathlib usage
"Q", # quote handling
"RET", # return handling
"RUF", # the ruff developer's own rules
"SIM", # simplification options
"UP", # alert you when better syntax is available in your python version
"W", # pycodestyle warnings
"ANN", # enforce type annotations
"A", # prevent using keywords that clobber python builtins
"ARG", # argument usage checking
"B", # bugbear: security warnings
"C4", # generator usage
"C90", # mccabe code complexity
"COM", # comma usage
"D", # pydocstyle
"DTZ", # datetimez sanity
"E", # pycodestyle errors
"EM", # error message handling
"F", # pyflakes - should be enabled but make explicit
"FURB", # refurb - code modernization
"ERA", # commented code screamer
"FBT", # boolean traps
"FIX", # fixme screamer
"F", # pyflakes
"G", # logging handling
"I", # isort
"ISC", # implicit string concatenation
"PIE", # pie stuff
"PL", # pylint rules
"PTH", # pathlib usage
"Q", # quote handling
"RET", # return handling
"RUF", # the ruff developer's own rules
"SIM", # simplification options
"UP", # alert you when better syntax is available in your python version
"W", # pycodestyle warnings
]
lint.ignore = [