From: Jonathan Corbet <corbet@lwn.net>
To: Dongliang Mu <dzm91@hust.edu.cn>, Alex Shi <alexs@kernel.org>,
Yanteng Si <siyanteng@loongson.cn>
Cc: hust-os-kernel-patches@googlegroups.com,
linux-doc@vger.kernel.org, Cheng Ziqiu <chengziqiu@hust.edu.cn>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] scripts: add scripts/checktransupdate.py
Date: Thu, 13 Jun 2024 06:58:51 -0600 [thread overview]
Message-ID: <87v82dm22c.fsf@trenco.lwn.net> (raw)
In-Reply-To: <43d7cf37-8f7f-4004-a5d1-15fcc9189016@hust.edu.cn>
Dongliang Mu <dzm91@hust.edu.cn> writes:
> Linux kernel does have coding style for C language. Any reference to
> python coding style?
>
> I can refer to these materials to revise this script.
We have never defined a kernel coding style for Python; I've generally
just tried to stay as close to the C style as possible.
If you are making other changes to the script anyway, you can adjust
coding style while you are at it. I would not bother with additional
patches just for coding style at this point.
Thanks,
jon
prev parent reply other threads:[~2024-06-13 12:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 13:17 [PATCH v2] scripts: add scripts/checktransupdate.py Dongliang Mu
2024-06-11 13:39 ` si.yanteng
2024-06-12 1:34 ` Alex Shi
2024-06-12 21:27 ` Jonathan Corbet
2024-06-13 6:06 ` Dongliang Mu
2024-06-13 12:58 ` Jonathan Corbet [this message]
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=87v82dm22c.fsf@trenco.lwn.net \
--to=corbet@lwn.net \
--cc=alexs@kernel.org \
--cc=chengziqiu@hust.edu.cn \
--cc=dzm91@hust.edu.cn \
--cc=hust-os-kernel-patches@googlegroups.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=siyanteng@loongson.cn \
/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 NNTP newsgroup(s).