Skip to content

Commit

Permalink
pragma no cover
Browse files Browse the repository at this point in the history
  • Loading branch information
mironleon authored Sep 26, 2024
1 parent 4a13109 commit 48387ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cython_lint/string_fixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def fix_strings(filename: str, *, never: bool) -> int:
inside_f_string = True
if token_type == tokenize.FSTRING_START:
inside_f_string = False
else: # pragma: no cover
pass
if token_type == tokenize.STRING:
# do not touch any quotes inside of an f-string
if inside_f_string:
Expand Down

0 comments on commit 48387ed

Please sign in to comment.