Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Oct 4, 2023
1 parent 72a0f13 commit 1807ccb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.276"
rev: "v0.0.292"
hooks:
- id: ruff
args: [--fix]

- repo: https://github.com/psf/black
rev: "23.3.0"
rev: "23.9.1"
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.4.1"
rev: "v1.5.1"
hooks:
- id: mypy
args: []
Expand All @@ -38,7 +38,7 @@ repos:


- repo: https://github.com/codespell-project/codespell
rev: "v2.2.5"
rev: "v2.2.6"
hooks:
- id: codespell
args: ["-L", "te,slowy,aray,ba,nd,classs,crate,feld,lits"]
Expand Down
4 changes: 1 addition & 3 deletions micropip/_compat_not_in_pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ def wheel_dist_info_dir(source: ZipFile, name: str) -> str:
canonical_name = canonicalize_name(name)
if not info_dir_name.startswith(canonical_name):
raise UnsupportedWheel(
".dist-info directory {!r} does not start with {!r}".format(
info_dir, canonical_name
)
f".dist-info directory {info_dir!r} does not start with {canonical_name!r}"
)

return info_dir
Expand Down

0 comments on commit 1807ccb

Please sign in to comment.