public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@sourceware.org>
To: gcc-cvs-wwwdocs@gcc.gnu.org
Subject: gcc-wwwdocs branch master updated. ece15e0758bdbb6938942a9f91f6342e66fe443a
Date: Mon, 17 Oct 2022 13:08:02 +0000 (GMT)	[thread overview]
Message-ID: <20221017130802.6D0F9385828B@sourceware.org> (raw)

[-- 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

                 reply	other threads:[~2022-10-17 13:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221017130802.6D0F9385828B@sourceware.org \
    --to=marxin@sourceware.org \
    --cc=gcc-cvs-wwwdocs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).