diff options
author | Ian Lee <IanLee1521@gmail.com> | 2016-06-25 15:40:34 -0700 |
---|---|---|
committer | Ian Lee <IanLee1521@gmail.com> | 2016-06-25 20:37:21 -0700 |
commit | d3c259ada97decbf5bd6527da7526c5bb1d9e5d1 (patch) | |
tree | 3af8052f43218e00e8301b13bb75f7b09ce6362d | |
parent | 915e08aabc5ffbface1cae5110f2bdc731d25eba (diff) | |
download | pep8-d3c259ada97decbf5bd6527da7526c5bb1d9e5d1.tar.gz |
Added W504 code to docs
-rw-r--r-- | docs/intro.rst | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/intro.rst b/docs/intro.rst index 0f5132b..c86d421 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -398,6 +398,8 @@ This is the current list of error and warning codes: +------------+----------------------------------------------------------------------+ | W503 (*) | line break occurred before a binary operator | +------------+----------------------------------------------------------------------+ +| W504 (*) | line break occurred after a binary operator | ++------------+----------------------------------------------------------------------+ +------------+----------------------------------------------------------------------+ | **W6** | *Deprecation warning* | +------------+----------------------------------------------------------------------+ @@ -412,10 +414,10 @@ This is the current list of error and warning codes: **(*)** In the default configuration, the checks **E121**, **E123**, **E126**, -**E133**, **E226**, **E241**, **E242**, **E704** and **W503** are ignored because -they are not rules unanimously accepted, and `PEP 8`_ does not enforce them. The -check **E133** is mutually exclusive with check **E123**. Use switch ``--hang- -closing`` to report **E133** instead of **E123**. +**E133**, **E226**, **E241**, **E242**, **E704**, **W503** and **W504** are +**ignored because they are not rules unanimously accepted, and `PEP 8`_ does not +**enforce them. The check **E133** is mutually exclusive with check **E123**. +**Use switch ``--hang- closing`` to report **E133** instead of **E123**. **(^)** These checks can be disabled at the line level using the ``# noqa`` special comment. This possibility should be reserved for special cases. |