diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c8279f28..7793c1d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,7 +38,7 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: 21.12b0 + rev: 22.1.0 hooks: - id: black diff --git a/cibuildwheel/util.py b/cibuildwheel/util.py index 516804d2..77af409d 100644 --- a/cibuildwheel/util.py +++ b/cibuildwheel/util.py @@ -141,7 +141,7 @@ def format_safe(template: str, **kwargs: Any) -> str: for key, value in kwargs.items(): find_pattern = re.compile( - fr""" + rf""" (?