summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2020-04-15 19:34:24 +0000
committerAnthony Sottile <asottile@umich.edu>2020-04-15 19:34:24 +0000
commit6efb15cecb5a53e4f605cb0639ddd7f6f33c4a41 (patch)
treef6e3ab82df443a813dddd8a0891b4c3e0d63fa0e /src
parent1be8707dc71dbaed8e0b2cb72bfe83a604183a92 (diff)
parent76eeccad89ac83d7049ec7ebb10776609f7a103d (diff)
downloadflake8-6efb15cecb5a53e4f605cb0639ddd7f6f33c4a41.tar.gz
Merge branch 'pyflakes_2_2' into 'master'
Support pyflakes 2.2.x Closes #625 See merge request pycqa/flake8!417
Diffstat (limited to 'src')
-rw-r--r--src/flake8/plugins/pyflakes.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/flake8/plugins/pyflakes.py b/src/flake8/plugins/pyflakes.py
index b216b62..73ed376 100644
--- a/src/flake8/plugins/pyflakes.py
+++ b/src/flake8/plugins/pyflakes.py
@@ -26,6 +26,21 @@ FLAKE8_PYFLAKES_CODES = {
"ImportStarUsage": "F405",
"ImportStarNotPermitted": "F406",
"FutureFeatureNotDefined": "F407",
+ "PercentFormatInvalidFormat": "F501",
+ "PercentFormatExpectedMapping": "F502",
+ "PercentFormatExpectedSequence": "F503",
+ "PercentFormatExtraNamedArguments": "F504",
+ "PercentFormatMissingArgument": "F505",
+ "PercentFormatMixedPositionalAndNamed": "F506",
+ "PercentFormatPositionalCountMismatch": "F507",
+ "PercentFormatStarRequiresSequence": "F508",
+ "PercentFormatUnsupportedFormatCharacter": "F509",
+ "StringDotFormatInvalidFormat": "F521",
+ "StringDotFormatExtraNamedArguments": "F522",
+ "StringDotFormatExtraPositionalArguments": "F523",
+ "StringDotFormatMissingArgument": "F524",
+ "StringDotFormatMixingAutomatic": "F525",
+ "FStringMissingPlaceholders": "F541",
"MultiValueRepeatedKeyLiteral": "F601",
"MultiValueRepeatedKeyVariable": "F602",
"TooManyExpressionsInStarredAssignment": "F621",
@@ -33,6 +48,7 @@ FLAKE8_PYFLAKES_CODES = {
"AssertTuple": "F631",
"IsLiteral": "F632",
"InvalidPrintSyntax": "F633",
+ "IfTuple": "F634",
"BreakOutsideLoop": "F701",
"ContinueOutsideLoop": "F702",
"ContinueInFinally": "F703",