Skip to content

Commit 6e96540

Browse files
Fix CI (#4551)
1 parent 8dc9127 commit 6e96540

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/diff_shades.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
HATCH_BUILD_HOOKS_ENABLE: "1"
4545
# Clang is less picky with the C code it's given than gcc (and may
4646
# generate faster binaries too).
47-
CC: clang-14
47+
CC: clang-18
4848
strategy:
4949
fail-fast: false
5050
matrix:

.github/workflows/pypi_upload.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
# Keep cibuildwheel version in sync with below
5151
- name: Install cibuildwheel and pypyp
5252
run: |
53-
pipx install cibuildwheel==2.21.2
54-
pipx install pypyp==1
53+
pipx install cibuildwheel==2.22.0
54+
pipx install pypyp==1.3.0
5555
- name: generate matrix
5656
if: github.event_name != 'pull_request'
5757
run: |

src/black/trans.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -660,10 +660,10 @@ def make_naked(string: str, string_prefix: str) -> str:
660660
"""
661661
assert_is_leaf_string(string)
662662
if "f" in string_prefix:
663-
f_expressions = (
663+
f_expressions = [
664664
string[span[0] + 1 : span[1] - 1] # +-1 to get rid of curly braces
665665
for span in iter_fexpr_spans(string)
666-
)
666+
]
667667
debug_expressions_contain_visible_quotes = any(
668668
re.search(r".*[\'\"].*(?<![!:=])={1}(?!=)(?![^\s:])", expression)
669669
for expression in f_expressions

0 commit comments

Comments
 (0)