changeset cc37a736d695 in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=cc37a736d695
description:
Use flake8 and update configuration
issue9082
review276971002
diffstat:
templates/develop.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 46fda09dfdb0 -r cc37a736d695 templates/develop.html
--- a/templates/develop.html Wed Feb 26 09:24:58 2020 +0100
+++ b/templates/develop.html Sun Mar 01 12:31:52 2020 +0100
@@ -89,7 +89,7 @@
<ul>
<li>Use 4 spaces for indentation.</li>
<li>Avoid the usage of <span class="text-monospace">from M import
*</span>.</li>
- <li>If unsure about PEP 8 conformity use <a
href="https://pypi.python.org/pypi/pep8">pep8</a> to check the code (with
option <span class="text-monospace">ignore=E123,E124,E126,E128</span>).</li>
+ <li>If unsure about conformity use <a
href="https://pypi.org/project/flake8/">flake8</a> to check the code (with
option <span
class="text-monospace">ignore=E123,E124,E126,E128,W503</span>).</li>
<li>Breaking lines:
<ul>
<li>Use 4 spaces per bracket pair.</li>