diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea8c010d..88e892ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: end-of-file-fixer - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.9" + rev: "v0.7.0" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -27,7 +27,7 @@ repos: types_or: [python, pyi, jupyter] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.12.1 hooks: - id: mypy files: src diff --git a/src/particle/_compat/typing.py b/src/particle/_compat/typing.py index ba21e2a0..5f621cc3 100644 --- a/src/particle/_compat/typing.py +++ b/src/particle/_compat/typing.py @@ -11,7 +11,6 @@ if sys.version_info < (3, 9): from importlib_resources.abc import Traversable elif sys.version_info < (3, 11): - # pylint: disable-next=deprecated-class from importlib.abc import Traversable else: from importlib.resources.abc import Traversable