mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Relax hard/enforced line length to 88 characters
This commit is contained in:
parent
1ac4abcb67
commit
2cd1d44576
2 changed files with 4 additions and 3 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
1
tox.ini
1
tox.ini
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue