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 2f50952 commit 434bbb0Copy full SHA for 434bbb0
pyflakes/checker.py
@@ -937,7 +937,7 @@ def ignore(self, node):
937
MATMULT = ignore
938
939
# additional node types
940
- COMPREHENSION = KEYWORD = FORMATTEDVALUE = handleChildren
+ COMPREHENSION = KEYWORD = FORMATTEDVALUE = JOINEDSTR = handleChildren
941
942
def DICT(self, node):
943
# Complain if there are duplicate keys with different values
pyflakes/test/test_other.py
@@ -1800,3 +1800,11 @@ def test_matmul(self):
1800
def foo(a, b):
1801
return a @ b
1802
''')
1803
+
1804
+ @skipIf(version_info < (3, 6), 'new in Python 3.6')
1805
+ def test_formatstring(self):
1806
+ self.flakes('''
1807
+ hi = 'hi'
1808
+ mom = 'mom'
1809
+ f'{hi} {mom}'
1810
+ ''')
0 commit comments