Skip to content

Commit 07d3529

Browse files
committed
#198 --feature doc updated.
1 parent 4c5bf00 commit 07d3529

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/intro.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,16 @@ Or you can display how often each error was found::
111111
612 W601 .has_key() is deprecated, use 'in'
112112
1188 W602 deprecated form of raising exception
113113

114+
You can also make pep8.py show the error text in different formats by using --format having options default/pylint/custom
115+
$ pep8 testsuite/E40.py --format=default
116+
testsuite/E40.py:2:10: E401 multiple imports on one line
117+
118+
$ pep8 testsuite/E40.py --format=pylint
119+
testsuite/E40.py:2: [E401] multiple imports on one line
120+
121+
$ pep8 testsuite/E40.py --format='%(path)s|%(row)d|%(col)d| %(code)s %(text)s'
122+
testsuite/E40.py|2|10| E401 multiple imports on one line
123+
114124
Quick help is available on the command line::
115125

116126
$ pep8 -h

0 commit comments

Comments
 (0)