Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#556)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Aug 15, 2023
1 parent 5460ca2 commit 2bf5bb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.282
rev: v0.0.284
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down
3 changes: 1 addition & 2 deletions src/wheel/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ def get_flag(var, fallback, expected=True, warn=True):
if val is None:
if warn:
warnings.warn(
"Config variable '{}' is unset, Python ABI tag may "
"be incorrect".format(var),
f"Config variable '{var}' is unset, Python ABI tag may " "be incorrect",
RuntimeWarning,
stacklevel=2,
)
Expand Down

0 comments on commit 2bf5bb0

Please sign in to comment.