[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200414160541.GB32775@linux.intel.com>
Date: Tue, 14 Apr 2020 19:05:41 +0300
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Ezra Buehler <ezra@...yb.ch>
Cc: Shuah Khan <shuah@...nel.org>, linux-kselftest@...r.kernel.org,
linux-integrity@...r.kernel.org,
Tadeusz Struk <tadeusz.struk@...el.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] selftests/tpm2: Change exception handling to be Python 3
compatible
On Tue, Apr 14, 2020 at 01:14:11PM +0200, Ezra Buehler wrote:
> On 14 Apr 2020, at 09:38, Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com> wrote:
> > OK, I'm aware about the dynamic nature but in this case it is somewhat
> > counter intuitive since it is part of the exception clause. You'd except
> > the Python interpreter to complain.
>
> I agree.
>
> > So, is Flake8 like the standard to be used?
>
> Pretty much, yes. There is also Pylint though. Among other things, they
> both check for PEP 8 (official) coding style compliance.
Thank you for taking time explaining all this. I'll make sure to include
these to my process when I update my test from now on.
/Jarkko
Powered by blists - more mailing lists