diff options
| author | Anthony Sottile <asottile@umich.edu> | 2020-04-10 18:53:10 -0700 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2020-04-11 15:00:52 -0700 |
| commit | 76eeccad89ac83d7049ec7ebb10776609f7a103d (patch) | |
| tree | f6e3ab82df443a813dddd8a0891b4c3e0d63fa0e /src | |
| parent | 1be8707dc71dbaed8e0b2cb72bfe83a604183a92 (diff) | |
| download | flake8-76eeccad89ac83d7049ec7ebb10776609f7a103d.tar.gz | |
Support pyflakes 2.2.x
Diffstat (limited to 'src')
| -rw-r--r-- | src/flake8/plugins/pyflakes.py | 16 |
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", |
