From 79ce37b63626e508a1f22c6df29d7ca90933ba2e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:59:27 +0200 Subject: [PATCH] chore(deps): update pre-commit hooks (#636) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.0) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.12.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.12.1) * Update typing.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eduardo Rodrigues --- .pre-commit-config.yaml | 4 ++-- src/particle/_compat/typing.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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