diff --git a/python/testData/inspections/PyStringFormatInspection/Basic.py b/python/testData/inspections/PyStringFormatInspection/Basic.py index 368d82fb4bd5..ad6559fd78f5 100644 --- a/python/testData/inspections/PyStringFormatInspection/Basic.py +++ b/python/testData/inspections/PyStringFormatInspection/Basic.py @@ -23,7 +23,7 @@ '%d%d' % ((5), (5)) #ok "%(name)d %(name)d" % {"name": 43} #ok "%(name)d" % {'a': 4, "name": 5} #ok -'%% name %(name)c' % {'a': 4} #Key 'name' has no following argument +'%% name %(name)c' % {'a': 4} #Key 'name' has no following argument '%d %u %f %F %s %r' % (2, 3, 4.1, 4.0, "name", "str") #ok '%d %d %d' % (4, "a", "b") #Unexpected type '%f %f %f' % (4, 5, "test") #Unexpected type diff --git a/python/testData/inspections/PyStringFormatInspection/DictionaryArgument.py b/python/testData/inspections/PyStringFormatInspection/DictionaryArgument.py index f5d11d1d437b..74e6f7970c74 100644 --- a/python/testData/inspections/PyStringFormatInspection/DictionaryArgument.py +++ b/python/testData/inspections/PyStringFormatInspection/DictionaryArgument.py @@ -6,5 +6,5 @@ if my_dict['class']: my_dict['tmp'] = 'classes %(css_class)s' % my_dict -my_dict['tmp'] = 'classes %(claz)s' % my_dict +my_dict['tmp'] = 'classes %(claz)s' % my_dict diff --git a/python/testData/inspections/PyStringFormatInspection/NewStyleDictLiteralWithNumericKeys.py b/python/testData/inspections/PyStringFormatInspection/NewStyleDictLiteralWithNumericKeys.py index 42b6d7b76bbc..f296f2fb5a1b 100644 --- a/python/testData/inspections/PyStringFormatInspection/NewStyleDictLiteralWithNumericKeys.py +++ b/python/testData/inspections/PyStringFormatInspection/NewStyleDictLiteralWithNumericKeys.py @@ -1 +1 @@ -print ("first is {fst}".format(**{1: "3"}) \ No newline at end of file +print ("first is {fst}".format(**{1: "3"}) \ No newline at end of file diff --git a/python/testData/inspections/PyStringFormatInspection/NewStyleEmptyDictArg.py b/python/testData/inspections/PyStringFormatInspection/NewStyleEmptyDictArg.py index fd9e1ca1c188..ea70a9d3dabf 100644 --- a/python/testData/inspections/PyStringFormatInspection/NewStyleEmptyDictArg.py +++ b/python/testData/inspections/PyStringFormatInspection/NewStyleEmptyDictArg.py @@ -1 +1 @@ -print("{foo}".format(**{})) \ No newline at end of file +print("{foo}".format(**{})) \ No newline at end of file diff --git a/python/testData/inspections/PyStringFormatInspection/PackedDictCallUnusedMappingKey.py b/python/testData/inspections/PyStringFormatInspection/PackedDictCallUnusedMappingKey.py index 786651e24372..07664decaa01 100644 --- a/python/testData/inspections/PyStringFormatInspection/PackedDictCallUnusedMappingKey.py +++ b/python/testData/inspections/PyStringFormatInspection/PackedDictCallUnusedMappingKey.py @@ -1 +1 @@ -'{first}, {second}, {third}'.format(**dict(first='a', second='b')) \ No newline at end of file +'{first}, {second}, {third}'.format(**dict(first='a', second='b')) \ No newline at end of file diff --git a/python/testData/inspections/PyStringFormatInspection/UnusedMappingNewStyleFormat.py b/python/testData/inspections/PyStringFormatInspection/UnusedMappingNewStyleFormat.py index 804db2c741c0..79f7ad40ed07 100644 --- a/python/testData/inspections/PyStringFormatInspection/UnusedMappingNewStyleFormat.py +++ b/python/testData/inspections/PyStringFormatInspection/UnusedMappingNewStyleFormat.py @@ -1,2 +1,2 @@ -"{name}".format() -'{foo}'.format(boo=1) \ No newline at end of file +"{name}".format() +'{foo}'.format(boo=1) \ No newline at end of file