diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-03-24 23:59:30 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-03-24 23:59:30 +0100 |
commit | 922e7fdbf5127ef56e602a2fdca3a25107134610 (patch) | |
tree | 977258cd26948cd765c1fdf18ed46d17d169139d /docs | |
parent | 173592fccdef25078d599e0f748650ef43ed13cc (diff) | |
parent | 9a72d591cf60247457d6d2341baf59b7b626e387 (diff) | |
download | pep8-922e7fdbf5127ef56e602a2fdca3a25107134610.tar.gz |
Merge pull request #260 from chrismedrela/ticket236
Fixed #236 -- added checks for 'not X in L' and 'not X is Y'
Diffstat (limited to 'docs')
-rw-r--r-- | docs/intro.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/intro.rst b/docs/intro.rst index c1f01cd..10531b7 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -302,6 +302,10 @@ This is the current list of error and warning codes: +----------+----------------------------------------------------------------------+ | E712 (^) | comparison to True should be 'if cond is True:' or 'if cond:' | +----------+----------------------------------------------------------------------+ +| E713 | evaluating membership should be 'elem not in collection' | ++----------+----------------------------------------------------------------------+ +| E714 | testing unequal identities should be 'x is not y' | ++----------+----------------------------------------------------------------------+ | E721 | do not compare types, use 'isinstance()' | +----------+----------------------------------------------------------------------+ +----------+----------------------------------------------------------------------+ @@ -342,6 +346,7 @@ This is the current list of error and warning codes: | W604 | backticks are deprecated, use 'repr()' | +----------+----------------------------------------------------------------------+ + **(*)** In the default configuration, the checks **E123**, **E133**, **E226**, **E241** and **E242** are ignored because they are not rules unanimously accepted, and `PEP 8`_ does not enforce them. The check **E133** is mutually |