[PATCH] pglister: Fix pycodestyle errors
[PATCH] pglister: Fix pycodestyle errors
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 <magnus@hagander.net>
Дата:
On Sat, Aug 12, 2023 at 4:17 PM Célestin Matte 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/