diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a605b3..e9e14e7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/pyproject.toml b/pyproject.toml index b75d905..0374c8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -234,7 +234,7 @@ ignore = [ "PLR0913", # yes, many arguments, but most have defaults "PYI034", # We're not adding typing_extensions just for Self. "SLF001", # private members are accessed by friendly functions - "TCH", # TYPE_CHECKING blocks break autodocs + "TC", # TYPE_CHECKING blocks break autodocs ] [tool.ruff.lint.per-file-ignores]