diff --git a/pyproject.toml b/pyproject.toml index 9d69b7ad..e9dc7caa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,22 +129,32 @@ src = ["subliminal", "tests"] [tool.ruff.lint] pydocstyle = { convention = "pep257" } select = [ - "E", # style errors - "F", # flakes - "W", # warnings - "D", # pydocstyle - "D417", # Missing argument descriptions in Docstrings - "I", # isort - "UP", # pyupgrade - "S", # bandit - "C4", # flake8-comprehensions - "B", # flake8-bugbear - "A001", # flake8-builtins - "TCH", # flake8-typecheck - "TID", # flake8-tidy-imports - "RUF", # ruff-specific rules - "ISC", # flake8-implicit-str-concat - "PT", # flake8-pytest-style + "E", # style errors + "F", # flakes + "W", # warnings + "D", # pydocstyle + "D417", # Missing argument descriptions in Docstrings + "I", # isort + "UP", # pyupgrade + "S", # bandit + "C4", # flake8-comprehensions + "B", # flake8-bugbear + "TCH", # flake8-typecheck + "TID", # flake8-tidy-imports + "RUF", # ruff-specific rules + "ISC", # flake8-implicit-str-concat + "PT", # flake8-pytest-style + "FA", # flake8-future-annotations + "BLE", # flake8-blind-except + "RET", # flake8-return + "SIM", # flake8-simplify + "DTZ", # flake8-datetimez + "A", # flake8-builtins + "FBT", # flake8-boolean-trap + "ANN2", # flake8-annotations + "ANN001", + "ASYNC", # flake8-async + "TRY", # tryceratops ] ignore = [ "D401", # First line should be in imperative mood