We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d1433 commit 8493758Copy full SHA for 8493758
pycodestyle.py
@@ -2010,6 +2010,11 @@ def build_tokens_line(self):
2010
continue
2011
if token_type == tokenize.STRING:
2012
text = mute_string(text)
2013
+ elif (
2014
+ sys.version_info >= (3, 12) and
2015
+ token_type == tokenize.FSTRING_MIDDLE
2016
+ ):
2017
+ text = 'x' * len(text)
2018
if prev_row:
2019
(start_row, start_col) = start
2020
if prev_row != start_row: # different row
testsuite/python36.py
@@ -0,0 +1,2 @@
1
+#: Okay
2
+f'{hello}:{world}'
0 commit comments