Обсуждение: [PATCH] pglister: Fix pycodestyle errors

Поиск
Список
Период
Сортировка

[PATCH] pglister: Fix pycodestyle errors

От
Célestin Matte
Дата:
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()`
-- 
Célestin Matte
Вложения

Re: [PATCH] pglister: Fix pycodestyle errors

От
Magnus Hagander
Дата:
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/