diff options
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2023-04-14 00:12:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 00:12:55 +0300 |
commit | 37bc83a2d8e733c3b51d440f685b3917bf617f6d (patch) | |
tree | aa7b435c7d29b2de9b183892c91526f283e073af | |
parent | c87e6ed82b58b41b258a3e8c852af8bc1817bb00 (diff) | |
download | wheel-git-37bc83a2d8e733c3b51d440f685b3917bf617f6d.tar.gz |
[pre-commit.ci] pre-commit autoupdate (#524)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.257 → v0.0.261](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.257...v0.0.261)
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/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>
-rw-r--r-- | .pre-commit-config.yaml | 4 | ||||
-rw-r--r-- | src/wheel/cli/convert.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 75e0187..f61fe63 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/src/wheel/cli/convert.py b/src/wheel/cli/convert.py index 1287059..1ce9b5f 100644 --- a/src/wheel/cli/convert.py +++ b/src/wheel/cli/convert.py @@ -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 |