Jeff Janies
writes:
> 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.
Take care, when posting email, to use an editor
On Tue, Nov 5, 2013 at 10:28 AM, Jeff Janies wrote:
> 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
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?