diff options
author | Łukasz Rogalski <rogalski.91@gmail.com> | 2016-12-28 19:31:49 +0100 |
---|---|---|
committer | Łukasz Rogalski <rogalski.91@gmail.com> | 2016-12-28 19:31:49 +0100 |
commit | 543f12b06592c53e2e60edc4846ee02ab9550e8b (patch) | |
tree | a7d2d60e5a73646c023f993a7b257a775136a426 /docs/intro.rst | |
parent | fcc8f58f3d805e7529cfef1005285fdef1107917 (diff) | |
download | pep8-543f12b06592c53e2e60edc4846ee02ab9550e8b.tar.gz |
warn about bare except clause
Diffstat (limited to 'docs/intro.rst')
-rw-r--r-- | docs/intro.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/intro.rst b/docs/intro.rst index b1dc689..fcdcf72 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -361,6 +361,8 @@ This is the current list of error and warning codes: +------------+----------------------------------------------------------------------+ | E721 (^) | do not compare types, use 'isinstance()' | +------------+----------------------------------------------------------------------+ +| E722 | do not use bare except, specify exception instead | ++------------+----------------------------------------------------------------------+ | E731 | do not assign a lambda expression, use a def | +------------+----------------------------------------------------------------------+ | E741 | do not use variables named 'l', 'O', or 'I' | |