summaryrefslogtreecommitdiff
path: root/docs/intro.rst
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-11-05 15:46:52 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2019-01-24 18:04:21 -0800
commit68335d1a6d65de7ed09af580bdb909c5f6c139c2 (patch)
treee5759cfc7eb5a1ebe430274d1695d61ab7dfc836 /docs/intro.rst
parentdb80d0750951e4a9d1ac82338285496534d6c061 (diff)
downloadpep8-68335d1a6d65de7ed09af580bdb909c5f6c139c2.tar.gz
Add check for over-indented blocks
In a project with all lines indented 4 spaces, I noticed pycodestyle was not catching code that was accidentally indented two levels (8 spaces). The over indentation was unintended and can be caught during static analysis. Fixes #430
Diffstat (limited to 'docs/intro.rst')
-rw-r--r--docs/intro.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/intro.rst b/docs/intro.rst
index a374a87..991db47 100644
--- a/docs/intro.rst
+++ b/docs/intro.rst
@@ -232,6 +232,7 @@ This is the current list of error and warning codes:
+------------+----------------------------------------------------------------------+
| E116 | unexpected indentation (comment) |
+------------+----------------------------------------------------------------------+
+| E117 | over-indented |
+------------+----------------------------------------------------------------------+
| E121 (\*^) | continuation line under-indented for hanging indent |
+------------+----------------------------------------------------------------------+