public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
* gcc-wwwdocs branch master updated. ece15e0758bdbb6938942a9f91f6342e66fe443a
@ 2022-10-17 13:08 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-10-17 13:08 UTC (permalink / raw)
  To: gcc-cvs-wwwdocs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1895 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".

The branch, master has been updated
       via  ece15e0758bdbb6938942a9f91f6342e66fe443a (commit)
      from  91315916d177e42c5888c5d30491ab6d6041b1a4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ece15e0758bdbb6938942a9f91f6342e66fe443a
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Oct 13 11:35:51 2022 +0200

    Python Language Conventions

diff --git a/htdocs/codingconventions.html b/htdocs/codingconventions.html
index b14abd78..b059b23e 100644
--- a/htdocs/codingconventions.html
+++ b/htdocs/codingconventions.html
@@ -80,6 +80,7 @@ the conventions separately from any other changes to the code.</p>
     </li>
     </ul>
 </li>
+<li><a href="#python">Python Language Conventions</a>
 </ul>
 
 
@@ -1483,6 +1484,19 @@ with a right brace, optional closing comment, and a new line.
 Definitions within the body of a namespace are not indented.
 </p>
 
+<h2 id="python">Python Language Conventions</h2>
+
+<p>
+Python scripts should follow <a href="https://peps.python.org/pep-0008/">PEP 8 – Style Guide for Python Code</a>
+which can be verified by the <a href="flake8.pycqa.org">flake8</a> tool.
+We recommend using the following <code>flake8</code> plug-ins:
+
+<ul>
+    <li>flake8-builtins</li>
+    <li>flake8-import-order</li>
+    <li>flake8-quotes</li>
+</ul>
+</p>
 
 </body>
 </html>

-----------------------------------------------------------------------

Summary of changes:
 htdocs/codingconventions.html | 14 ++++++++++++++
 1 file changed, 14 insertions(+)


hooks/post-receive
-- 
gcc-wwwdocs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-17 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-17 13:08 gcc-wwwdocs branch master updated. ece15e0758bdbb6938942a9f91f6342e66fe443a Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).