diff options
Diffstat (limited to 'docs/intro.rst')
-rw-r--r-- | docs/intro.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/intro.rst b/docs/intro.rst index fd2644e..27f125a 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -305,6 +305,8 @@ This is the current list of error and warning codes: +----------+----------------------------------------------------------------------+ | E703 | statement ends with a semicolon | +----------+----------------------------------------------------------------------+ +| E704 | multiple statements on one line (def) | ++----------+----------------------------------------------------------------------+ | E711 (^) | comparison to None should be 'if cond is None:' | +----------+----------------------------------------------------------------------+ | E712 (^) | comparison to True should be 'if cond is True:' or 'if cond:' | @@ -315,6 +317,8 @@ This is the current list of error and warning codes: +----------+----------------------------------------------------------------------+ | E721 | do not compare types, use 'isinstance()' | +----------+----------------------------------------------------------------------+ +| E731 | do not assign a lambda expression, use a def | ++----------+----------------------------------------------------------------------+ +----------+----------------------------------------------------------------------+ | **E9** | *Runtime* | +----------+----------------------------------------------------------------------+ |