Look for pycodestyle, and use it to check all the Python sources (tests and auxiliary scripts included) of the Python bindings.