Skip to content

Commit 45f679d

Browse files
[pre-commit] Upgrade the tooling and noqa a mypy error (#2655)
Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent 30ddb25 commit 45f679d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
exclude: tests/testdata
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: "v0.8.1"
13+
rev: "v0.8.4"
1414
hooks:
1515
- id: ruff
1616
args: ["--fix"]
@@ -22,7 +22,7 @@ repos:
2222
exclude: tests/testdata|setup.py
2323
types: [python]
2424
- repo: https://github.com/asottile/pyupgrade
25-
rev: v3.19.0
25+
rev: v3.19.1
2626
hooks:
2727
- id: pyupgrade
2828
exclude: tests/testdata
@@ -53,7 +53,7 @@ repos:
5353
# "--load-plugins=pylint.extensions.docparams", We're not ready for that
5454
]
5555
- repo: https://github.com/pre-commit/mirrors-mypy
56-
rev: v1.13.0
56+
rev: v1.14.0
5757
hooks:
5858
- id: mypy
5959
language: python

astroid/interpreter/_import/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import pathlib
88
import sys
99
from functools import lru_cache
10-
from importlib._bootstrap_external import _NamespacePath
10+
from importlib._bootstrap_external import _NamespacePath # type: ignore[attr-defined]
1111
from importlib.util import _find_spec_from_path # type: ignore[attr-defined]
1212

1313
from astroid.const import IS_PYPY

0 commit comments

Comments
 (0)