I have recently started using Flake8 for syntax checking and have found that the style checking fails to check that `if __name__ == “__main__”:` after a class or function has the correct number of newlines preceding it. Shouldn’t this follow the same style rules as functions outside of a class?
Jeff Janies _______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality