Skip to content

Commit

Permalink
Reconcile coding standard with Black and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
twm committed Sep 12, 2020
1 parent eab9055 commit a3d6d4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/core/development/policy/coding-standard.rst
Expand Up @@ -76,15 +76,15 @@ Indentation is 4 spaces per indent.
Tabs are not allowed.
It is preferred that every block appears on a new line, so that control structure indentation is always visible.

Lines are flowed at 89 columns.
Lines are flowed at 88 columns per `The Black Code Style <https://github.com/psf/black/blob/master/docs/the_black_code_style.md>`_.
They must not have trailing whitespace.
Long lines must be wrapped using implied line continuation inside parentheses; backslashes aren't allowed.
Long lines must be wrapped using implied line continuation inside parentheses; backslashes aren't allowed except when wrapping ``with`` statement clauses.
To handle long import lines, please wrap them inside parentheses:

.. code-block:: python
from very.long.package import (
foo, bar, baz, qux, quux, quuux
foo, bar, baz, qux, quux, quuux,
)
Expand Down

0 comments on commit a3d6d4c

Please sign in to comment.