Skip to content

Commit 1807ccb

Browse files
[pre-commit.ci] pre-commit autoupdate (#89)
1 parent 72a0f13 commit 1807ccb

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ repos:
1818
- id: trailing-whitespace
1919

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
21-
rev: "v0.0.276"
21+
rev: "v0.0.292"
2222
hooks:
2323
- id: ruff
2424
args: [--fix]
2525

2626
- repo: https://github.com/psf/black
27-
rev: "23.3.0"
27+
rev: "23.9.1"
2828
hooks:
2929
- id: black
3030

3131
- repo: https://github.com/pre-commit/mirrors-mypy
32-
rev: "v1.4.1"
32+
rev: "v1.5.1"
3333
hooks:
3434
- id: mypy
3535
args: []
@@ -38,7 +38,7 @@ repos:
3838

3939

4040
- repo: https://github.com/codespell-project/codespell
41-
rev: "v2.2.5"
41+
rev: "v2.2.6"
4242
hooks:
4343
- id: codespell
4444
args: ["-L", "te,slowy,aray,ba,nd,classs,crate,feld,lits"]

micropip/_compat_not_in_pyodide.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ def wheel_dist_info_dir(source: ZipFile, name: str) -> str:
9595
canonical_name = canonicalize_name(name)
9696
if not info_dir_name.startswith(canonical_name):
9797
raise UnsupportedWheel(
98-
".dist-info directory {!r} does not start with {!r}".format(
99-
info_dir, canonical_name
100-
)
98+
f".dist-info directory {info_dir!r} does not start with {canonical_name!r}"
10199
)
102100

103101
return info_dir

0 commit comments

Comments
 (0)