Relax hard/enforced line length to 88 characters

This commit is contained in:
Justin Mayer 2020-04-27 09:44:09 +02:00
commit 2cd1d44576
2 changed files with 4 additions and 3 deletions

View file

@ -135,9 +135,9 @@ Contribution quality standards
<https://pypi.org/project/pycodestyle>`_ or `flake8 <https://pypi.org/project/pycodestyle>`_ or `flake8
<https://pypi.org/project/flake8/>`_ tools, the latter of which in <https://pypi.org/project/flake8/>`_ tools, the latter of which in
particular will give you some useful hints about ways in which the 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 code/formatting can be improved. We try to keep line length within the
compliance, note that the line length specified by PEP8 is 79 (excluding the 79-character maximum specified by PEP8. Because that can sometimes compromise
line break). readability, the hard/enforced maximum is 88 characters.
* Ensure your code is compatible with the `officially-supported Python releases`_. * Ensure your code is compatible with the `officially-supported Python releases`_.
* Add docs and tests for your changes. Undocumented and untested features will * Add docs and tests for your changes. Undocumented and untested features will
not be accepted. not be accepted.

View file

@ -32,6 +32,7 @@ addopts = -n 2
[flake8] [flake8]
application-import-names = pelican application-import-names = pelican
import-order-style = cryptography import-order-style = cryptography
max-line-length = 88
[testenv:flake8] [testenv:flake8]
basepython = python3.6 basepython = python3.6