Re: [code-quality] Possible Issue

2013-11-05 Thread Ben Finney
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

Re: [code-quality] Possible Issue

2013-11-05 Thread Ian Cordasco
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

[code-quality] Possible Issue

2013-11-05 Thread Jeff Janies
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?