diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 334b6f15..ea9437bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] diff --git a/src/wheel/bdist_wheel.py b/src/wheel/bdist_wheel.py index c8ee2adc..c385ebdb 100644 --- a/src/wheel/bdist_wheel.py +++ b/src/wheel/bdist_wheel.py @@ -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, )