From 2cd1d44576ecc4fd0cc532cbb19c2b934ab5c665 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Mon, 27 Apr 2020 09:44:09 +0200 Subject: [PATCH] Relax hard/enforced line length to 88 characters --- CONTRIBUTING.rst | 6 +++--- tox.ini | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 945a5303..9561b04f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -135,9 +135,9 @@ Contribution quality standards `_ or `flake8 `_ tools, the latter of which in particular will give you some useful hints about ways in which the - code/formatting can be improved. If you are relying on your editor for PEP8 - compliance, note that the line length specified by PEP8 is 79 (excluding the - line break). + code/formatting can be improved. We try to keep line length within the + 79-character maximum specified by PEP8. Because that can sometimes compromise + readability, the hard/enforced maximum is 88 characters. * Ensure your code is compatible with the `officially-supported Python releases`_. * Add docs and tests for your changes. Undocumented and untested features will not be accepted. diff --git a/tox.ini b/tox.ini index a7543a17..23bb518f 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,7 @@ addopts = -n 2 [flake8] application-import-names = pelican import-order-style = cryptography +max-line-length = 88 [testenv:flake8] basepython = python3.6