[Python-Dev] How is the GitHub workflow working for people?

Yury Selivanov yselivanov.ml at gmail.com
Wed Feb 21 23:02:20 EST 2018


On Wed, Feb 21, 2018 at 10:27 PM, Guido van Rossum <guido at python.org> wrote:
[..]
> I honestly expect that running either with close-to-default flags on stdlib
> code would be a nightmare, and I wouldn't want *any* directives for either
> one to appear in stdlib code, ever.

It would be great to enable the linter on a per-module basis then.
For instance, I believe that all files in asyncio package pass flake8
with default flags (at least I'm doing my best to keep it that way).
Sometimes it takes an extra review round to fix the code style, having
the CI to enforce it would save time for everybody.

Something similar to "cpython/.github/CODEOWNERS" but for enabling
linters would work.

Yury


More information about the Python-Dev mailing list