Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: Tools/scripts/patchcheck.py does this check. It is used for .py and .rst files, and there is issue8912 for applying it to .c/.h files.
patchcheck.py also checks trailing whitespaces. While I and other core developers constantly remove trailing whitespaces (the recent clean up is PR 4130), the new trailing whitespaces are constantly added (for example in PR 4150). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32150> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com