diff options
author | cpopa <devnull@localhost> | 2014-06-08 11:32:35 +0300 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-06-08 11:32:35 +0300 |
commit | c595776620459e774d3c245a05e8058142cd6e36 (patch) | |
tree | 9916776f0af892815d4f624ce13c30ffca89771c | |
parent | d639355b4240339ad6cbf3e9f63ff6f7eb000a85 (diff) | |
download | pylint-c595776620459e774d3c245a05e8058142cd6e36.tar.gz |
Change message ids.
-rw-r--r-- | checkers/strings.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/checkers/strings.py b/checkers/strings.py index 3900264..202dfb0 100644 --- a/checkers/strings.py +++ b/checkers/strings.py @@ -75,30 +75,30 @@ MSGS = { "Used when a format string that uses unnamed conversion \ specifiers is given too few arguments"), - 'E1307': ("Invalid Python 3 format string", + 'W1302': ("Invalid Python 3 format string", "bad-format-string", "Used when a Python 3 format string is invalid"), - 'E1308': ("Missing keyword argument %r for format string", + 'W1303': ("Missing keyword argument %r for format string", "missing-format-argument-key", "Used when a Python 3 format string that uses named fields \ doesn't receive one or more required keywords."), - 'W1302': ("Unused format argument %r", + 'W1304': ("Unused format argument %r", "unused-format-string-argument", "Used when a Python 3 format string that uses named \ fields is used with an argument that \ is not required by the format string."), - 'W1303': ("Format string contains both automatic field numbering " + 'W1305': ("Format string contains both automatic field numbering " "and manual field specification", "format-combined-specification", "Usen when a format string contains both automatic \ field numbering (e.g. '{}') and manual field \ specification (e.g. '{0}')"), - 'W1304': ("Missing format attribute %r in format specifier %r", + 'W1306': ("Missing format attribute %r in format specifier %r", "missing-format-attribute", "Used when a format string uses an attribute specifier " "({0.length}), but the argument passed for formatting " "doesn't have that attribute."), - 'W1305': ("Using invalid lookup key %r in format specifier %r", + 'W1307': ("Using invalid lookup key %r in format specifier %r", "invalid-format-index", "Used when a format string uses a lookup specifier " "({a[1]}), but the argument passed for formatting " |