[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240328183844.00025fa2@kernel.org>
Date: Thu, 28 Mar 2024 18:38:44 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Donald Hunter <donald.hunter@...il.com>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Jiri Pirko
<jiri@...nulli.us>, Breno Leitao <leitao@...ian.org>, Alessandro Marcolini
<alessandromarcolini99@...il.com>, donald.hunter@...hat.com
Subject: Re: [PATCH net-next v1 2/3] doc: netlink: Add hyperlinks to
generated Netlink docs
On Tue, 26 Mar 2024 20:13:10 +0000 Donald Hunter wrote:
> return headroom(level) + "[" + ", ".join(inline(i) for i in list_) + "]"
>
> +def rst_ref(prefix: str, name: str) -> str:
I think python coding guidelines call for 2 empty lines between
functions? There's another place where this is violated in the patch.
FWIW I also feel like the using the global directly is a bit too hacky.
Dunno how much work it'd be to pass it in, but if it's a lot let's at
least define it at the start of the file and always have "global family"
before the use?
--
pw-bot: cr
Powered by blists - more mailing lists