Skip to content

Commit 2bf5bb0

Browse files
[pre-commit.ci] pre-commit autoupdate (#556)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 5460ca2 commit 2bf5bb0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pre-commit-config.yaml

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

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
21-
rev: v0.0.282
21+
rev: v0.0.284
2222
hooks:
2323
- id: ruff
2424
args: [--fix, --show-fixes]

src/wheel/bdist_wheel.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ def get_flag(var, fallback, expected=True, warn=True):
8080
if val is None:
8181
if warn:
8282
warnings.warn(
83-
"Config variable '{}' is unset, Python ABI tag may "
84-
"be incorrect".format(var),
83+
f"Config variable '{var}' is unset, Python ABI tag may " "be incorrect",
8584
RuntimeWarning,
8685
stacklevel=2,
8786
)

0 commit comments

Comments
 (0)