diff options
author | Ian Stapleton Cordasco <graffatcolmingov@gmail.com> | 2018-01-23 08:47:02 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-23 08:47:02 -0600 |
commit | f8ead16fcc62a56d297584e362041a616a2c7675 (patch) | |
tree | f7442ee7eac109eeff0085c59b93df8f6270fe7f /docs/intro.rst | |
parent | 534310014a1dad2a5aeca486fa2dccda93eb930b (diff) | |
parent | 80684c4c48716837b06a2b0d6cd421851b1a0ae6 (diff) | |
download | pep8-f8ead16fcc62a56d297584e362041a616a2c7675.tar.gz |
Merge pull request #724 from peterjc/patch-1
Describe code W504 line break after binary operator
Diffstat (limited to 'docs/intro.rst')
-rw-r--r-- | docs/intro.rst | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/intro.rst b/docs/intro.rst index 4ddf91f..854dc54 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -402,7 +402,9 @@ This is the current list of error and warning codes: +------------+----------------------------------------------------------------------+ | **W5** | *Line break warning* | +------------+----------------------------------------------------------------------+ -| W503 (*) | line break occurred before a binary operator | +| W503 (*) | line break before binary operator | ++------------+----------------------------------------------------------------------+ +| W504 (*) | line break after binary operator | +------------+----------------------------------------------------------------------+ +------------+----------------------------------------------------------------------+ | **W6** | *Deprecation warning* | @@ -420,9 +422,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 +**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 **W503** is mutually exclusive with check **W504**. +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`` |