Re: [PATCH] pglister: Fix pycodestyle errors

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
Cc: PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] pglister: Fix pycodestyle errors
Date: 2023-08-23 18:12:56
Message-ID: CABUevEw_fr=ze_4xy6=Jqj0X722sWE7M74oiJ2LU8tOQYNenvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Sat, Aug 12, 2023 at 4:17 PM Célestin Matte <celestin(dot)matte(at)cmatte(dot)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/

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Alvaro Herrera 2023-08-23 18:48:04 Re: Wiki editor request
Previous Message Alvaro Herrera 2023-08-22 16:37:30 Re: Wiki editor request