Skip to content

Commit

Permalink
[pre-commit] Upgrade the tooling and noqa a mypy error (#2655)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Sassoulas <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and Pierre-Sassoulas authored Dec 22, 2024
1 parent 30ddb25 commit 45f679d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: end-of-file-fixer
exclude: tests/testdata
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.8.1"
rev: "v0.8.4"
hooks:
- id: ruff
args: ["--fix"]
Expand All @@ -22,7 +22,7 @@ repos:
exclude: tests/testdata|setup.py
types: [python]
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
rev: v3.19.1
hooks:
- id: pyupgrade
exclude: tests/testdata
Expand Down Expand Up @@ -53,7 +53,7 @@ repos:
# "--load-plugins=pylint.extensions.docparams", We're not ready for that
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.14.0
hooks:
- id: mypy
language: python
Expand Down
2 changes: 1 addition & 1 deletion astroid/interpreter/_import/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pathlib
import sys
from functools import lru_cache
from importlib._bootstrap_external import _NamespacePath
from importlib._bootstrap_external import _NamespacePath # type: ignore[attr-defined]
from importlib.util import _find_spec_from_path # type: ignore[attr-defined]

from astroid.const import IS_PYPY
Expand Down

0 comments on commit 45f679d

Please sign in to comment.