diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6506f7349d..6068d0003d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.0 + rev: v0.8.1 hooks: - id: ruff args: ["--fix", "--show-fixes"] diff --git a/pyproject.toml b/pyproject.toml index 63ecdd85be..c4c3a7a4e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -294,11 +294,7 @@ extend-select = [ "W", # pycodestyle warnings ] ignore = [ - "ANN101", # deprecated - "ANN102", # deprecated "ANN401", - "PT004", # deprecated - "PT005", # deprecated "PT011", # TODO: apply this rule "PT012", # TODO: apply this rule "RET505", @@ -306,7 +302,6 @@ ignore = [ "RUF005", "SIM108", "TRY003", - "UP027", # deprecated "UP038", # https://github.com/astral-sh/ruff/issues/7871 # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191",