diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f016000984..563c87aee0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,9 +6,9 @@ ci: default_stages: [pre-commit, pre-push] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.9 + rev: v0.12.2 hooks: - - id: ruff + - id: ruff-check args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/codespell-project/codespell diff --git a/pyproject.toml b/pyproject.toml index 53b37d6c6d..a48a5eea25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -324,6 +324,8 @@ ignore = [ "ANN401", "PT011", # TODO: apply this rule "PT012", # TODO: apply this rule + "PT030", # TODO: apply this rule + "PT031", # TODO: apply this rule "RET505", "RET506", "RUF005",