From a3d6d4c65674bf834bbc38f92be19a30d9e064a4 Mon Sep 17 00:00:00 2001 From: Tom Most Date: Fri, 11 Sep 2020 23:44:00 -0700 Subject: [PATCH] Reconcile coding standard with Black and isort --- docs/core/development/policy/coding-standard.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/core/development/policy/coding-standard.rst b/docs/core/development/policy/coding-standard.rst index 4340cc18e1f..27fbc812350 100644 --- a/docs/core/development/policy/coding-standard.rst +++ b/docs/core/development/policy/coding-standard.rst @@ -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 `_. 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, )