Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#524)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.257 → v0.0.261](astral-sh/ruff-pre-commit@v0.0.257...v0.0.261)
- [github.com/psf/black: 23.1.0 → 23.3.0](psf/black@23.1.0...23.3.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Apr 13, 2023
1 parent c87e6ed commit 37bc83a
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -18,13 +18,13 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.257
rev: v0.0.261
hooks:
- id: ruff
args: [--fix, --show-fixes]

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

Expand Down
2 changes: 1 addition & 1 deletion src/wheel/cli/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def wininst2wheel(path, dest_dir):
else:
paths = {"platlib": ""}

dist_info = "%(name)s-%(ver)s" % info
dist_info = "{name}-{ver}".format(**info)
datadir = "%s.data/" % dist_info

# rewrite paths to trick ZipFile into extracting an egg
Expand Down

0 comments on commit 37bc83a

Please sign in to comment.