Messages in this thread | | | Date | Tue, 14 Apr 2020 19:05:41 +0300 | From | Jarkko Sakkinen <> | 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@linux.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
| |