Skip to content

Commit

Permalink
chore(deps): update pre-commit hooks (#636)
Browse files Browse the repository at this point in the history
* chore(deps): update pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](astral-sh/ruff-pre-commit@v0.6.9...v0.7.0)
- [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.12.1](pre-commit/mirrors-mypy@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 <eduardo.rodrigues@cern.ch>
  • Loading branch information
pre-commit-ci[bot] and eduardo-rodrigues authored Oct 22, 2024
1 parent 3b70df9 commit 79ce37b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ 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"]
- id: ruff-format
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
Expand Down
1 change: 0 additions & 1 deletion src/particle/_compat/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79ce37b

Please sign in to comment.