diff options
author | Ilambharathi Kanniah <ilambharathik@gmail.com> | 2014-07-31 11:10:37 -0700 |
---|---|---|
committer | Ilambharathi Kanniah <ilambharathik@gmail.com> | 2014-07-31 11:10:37 -0700 |
commit | 07d3529ba64c4df3820db86ca3a90d253a9e8eec (patch) | |
tree | 9ff4a4750ff98194111e26183f2a8f55a7af78db /docs/intro.rst | |
parent | 4c5bf00cb613be617c7f48d3b2b82a1c7b895ac1 (diff) | |
download | pep8-07d3529ba64c4df3820db86ca3a90d253a9e8eec.tar.gz |
#198 --feature doc updated.
Diffstat (limited to 'docs/intro.rst')
-rw-r--r-- | docs/intro.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/intro.rst b/docs/intro.rst index 5e3af1f..8a8d404 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -111,6 +111,16 @@ Or you can display how often each error was found:: 612 W601 .has_key() is deprecated, use 'in' 1188 W602 deprecated form of raising exception +You can also make pep8.py show the error text in different formats by using --format having options default/pylint/custom + $ pep8 testsuite/E40.py --format=default + testsuite/E40.py:2:10: E401 multiple imports on one line + + $ pep8 testsuite/E40.py --format=pylint + testsuite/E40.py:2: [E401] multiple imports on one line + + $ pep8 testsuite/E40.py --format='%(path)s|%(row)d|%(col)d| %(code)s %(text)s' + testsuite/E40.py|2|10| E401 multiple imports on one line + Quick help is available on the command line:: $ pep8 -h |