Re: [PATCH] pglister: Fix pycodestyle errors

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [PATCH] pglister: Fix pycodestyle errors
Дата
Msg-id CABUevEw_fr=ze_4xy6=Jqj0X722sWE7M74oiJ2LU8tOQYNenvg@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] pglister: Fix pycodestyle errors  (Célestin Matte <celestin.matte@cmatte.me>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Wiki editor request
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Wiki editor request