diff --git a/.config/ruff/pyproject.toml b/.config/ruff/pyproject.toml index cad2a24..d616173 100644 --- a/.config/ruff/pyproject.toml +++ b/.config/ruff/pyproject.toml @@ -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 = [