OT: Rejecting whitespace-only changes at github

Ned Batchelder ned at nedbatchelder.com
Thu Aug 10 05:42:37 EDT 2017


On 8/10/17 4:47 AM, Hartmut Goebel wrote:
> Hello,
>
> Is there some tool or online-service which can check patches if they
> contain white-space-only changes and all test-wrapping changes?
>
> One of the projects I'm maintaining (pyinstaller) wants to forbid
> changes of theses types. If we could integrate resp. checks into the
> tooling (github), this would give contributors feedback quickly and ease
> the burden for the maintainers.
>
> Sorry for this off-topic question, but I assume to find a competent
> answer here. And thanks for any pointer.
>

I don't think you can run code on GitHub like that.  You can write a bot
that listens for new pull requests, and comments on them, but you have
to find your own place to run that bot.

I'm curious though: are you getting enough pull requests that are
whitespace-only changes that it will be worth doing this?

--Ned.



More information about the Python-list mailing list