[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220812155308.520831bb@kernel.org>
Date: Fri, 12 Aug 2022 15:53:08 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, sdf@...gle.com, jacob.e.keller@...el.com,
vadfed@...com, johannes@...solutions.net, jiri@...nulli.us,
dsahern@...nel.org, fw@...len.de, linux-doc@...r.kernel.org
Subject: Re: [RFC net-next 3/4] ynl: add a sample python library
On Thu, 11 Aug 2022 13:09:06 -0700 Stephen Hemminger wrote:
> Looks interesting, you might want to consider running your code
> through some of the existing Python checkers such as flake8 and pylint.
> If you want this to be generally available in repos, best to follow the language conventions
>
> For example flake8 noticed:
> $ flake8 --max-line-length=120 ./tools/net/ynl/samples/ynl.py
> ./tools/net/ynl/samples/ynl.py:251:55: F821 undefined name 'file_name'
Thanks! I'll make sure to check flake8 (pylint is too noisy for me :()
Powered by blists - more mailing lists