Fix CI (#4551)
This commit is contained in:
parent
8dc912774e
commit
6e9654065c
2
.github/workflows/diff_shades.yml
vendored
2
.github/workflows/diff_shades.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
HATCH_BUILD_HOOKS_ENABLE: "1"
|
HATCH_BUILD_HOOKS_ENABLE: "1"
|
||||||
# Clang is less picky with the C code it's given than gcc (and may
|
# Clang is less picky with the C code it's given than gcc (and may
|
||||||
# generate faster binaries too).
|
# generate faster binaries too).
|
||||||
CC: clang-14
|
CC: clang-18
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
4
.github/workflows/pypi_upload.yml
vendored
4
.github/workflows/pypi_upload.yml
vendored
@ -50,8 +50,8 @@ jobs:
|
|||||||
# Keep cibuildwheel version in sync with below
|
# Keep cibuildwheel version in sync with below
|
||||||
- name: Install cibuildwheel and pypyp
|
- name: Install cibuildwheel and pypyp
|
||||||
run: |
|
run: |
|
||||||
pipx install cibuildwheel==2.21.2
|
pipx install cibuildwheel==2.22.0
|
||||||
pipx install pypyp==1
|
pipx install pypyp==1.3.0
|
||||||
- name: generate matrix
|
- name: generate matrix
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
|
@ -660,10 +660,10 @@ def make_naked(string: str, string_prefix: str) -> str:
|
|||||||
"""
|
"""
|
||||||
assert_is_leaf_string(string)
|
assert_is_leaf_string(string)
|
||||||
if "f" in string_prefix:
|
if "f" in string_prefix:
|
||||||
f_expressions = (
|
f_expressions = [
|
||||||
string[span[0] + 1 : span[1] - 1] # +-1 to get rid of curly braces
|
string[span[0] + 1 : span[1] - 1] # +-1 to get rid of curly braces
|
||||||
for span in iter_fexpr_spans(string)
|
for span in iter_fexpr_spans(string)
|
||||||
)
|
]
|
||||||
debug_expressions_contain_visible_quotes = any(
|
debug_expressions_contain_visible_quotes = any(
|
||||||
re.search(r".*[\'\"].*(?<![!:=])={1}(?!=)(?![^\s:])", expression)
|
re.search(r".*[\'\"].*(?<![!:=])={1}(?!=)(?![^\s:])", expression)
|
||||||
for expression in f_expressions
|
for expression in f_expressions
|
||||||
|
Loading…
Reference in New Issue
Block a user