The headers of Java sources are check by the checkstyle in Maven. Python tools should have something similar.