@@ -71,11 +71,9 @@ Example usage and output
7171 optparse.py:69:11: E401 multiple imports on one line
7272 optparse.py:77:1: E302 expected 2 blank lines, found 1
7373 optparse.py:88:5: E301 expected 1 blank line, found 0
74- optparse.py:222:34: W602 deprecated form of raising exception
7574 optparse.py:347:31: E211 whitespace before '('
7675 optparse.py:357:17: E201 whitespace after '{'
7776 optparse.py:472:29: E221 multiple spaces before operator
78- optparse.py:544:21: W601 .has_key() is deprecated, use 'in'
7977
8078You can also make ``pycodestyle.py `` show the source code for each error, and
8179even the relevant text from PEP 8::
@@ -103,8 +101,6 @@ Or you can display how often each error was found::
103101 165 E303 too many blank lines (4)
104102 325 E401 multiple imports on one line
105103 3615 E501 line too long (82 characters)
106- 612 W601 .has_key() is deprecated, use 'in'
107- 1188 W602 deprecated form of raising exception
108104
109105You can also make ``pycodestyle.py `` show the error text in different formats by
110106using ``--format `` having options default/pylint/custom::
@@ -415,14 +411,6 @@ This is the current list of error and warning codes:
415411+------------+----------------------------------------------------------------------+
416412| **W6 ** | *Deprecation warning * |
417413+------------+----------------------------------------------------------------------+
418- | W601 | .has_key() is deprecated, use 'in' |
419- +------------+----------------------------------------------------------------------+
420- | W602 | deprecated form of raising exception |
421- +------------+----------------------------------------------------------------------+
422- | W603 | '<>' is deprecated, use '!=' |
423- +------------+----------------------------------------------------------------------+
424- | W604 | backticks are deprecated, use 'repr()' |
425- +------------+----------------------------------------------------------------------+
426414| W605 | invalid escape sequence '\x ' |
427415+------------+----------------------------------------------------------------------+
428416| W606 | 'async' and 'await' are reserved keywords starting with Python 3.7 |
0 commit comments