Consider adding a CI check for whitespace errors, a la `git diff --check`. I've seen this idea surface a couple of times, most recently by @JelleZijlstra in https://github.com/python/cpython/pull/31695#issuecomment-1059782285