Re: [PATCH] pglister: Fix pycodestyle errors - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [PATCH] pglister: Fix pycodestyle errors
Date
Msg-id CABUevEw_fr=ze_4xy6=Jqj0X722sWE7M74oiJ2LU8tOQYNenvg@mail.gmail.com
Whole thread Raw
In response to [PATCH] pglister: Fix pycodestyle errors  (Célestin Matte <celestin.matte@cmatte.me>)
List pgsql-www
On Sat, Aug 12, 2023 at 4:17 PM Célestin Matte <celestin.matte@cmatte.me> wrote:
>
> pglister doesn't pass Debian bookworm's version of pycodestyle
> This patch fixes the following errors:
> E275 missing whitespace after keyword
> E721 do not compare types, for exact checks use `is` / `is not`, for instance checks use `isinstance()`

While I'm not sure we should commit to making bookworm pycodestyle
happy just yet, these fixes seem independently useful. Particular the
whitespace one I wonder why the bullseye version doesn't pick it up.

Thus, applied. Thanks!

--
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-www by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Wiki editor request
Next
From: Alvaro Herrera
Date:
Subject: Re: Wiki editor request