-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
flake8 should have complained because of a missing blank line before the class definition (my 5-line minimal test is a 6-line minimal test). Lets try to make it _really_ unhappy...
According to https://circleci.com/gh/doismellburning/cookiecutter-django/52:
snip
:( |
Similarly, manually:
|
|
That's reassuring! |
I can reproduce. Looks like there might be some kind of snafoozle with tox and python versions.
|
|
@inglesp Yay it's not just me <3 Thanks! |
I have a suspicion it's somehow related to the multiple |
But:
|
I don't yet understand how, but the problem is apparently caused by this trailing comma in the generated tox.ini:
|
Chapeau @rfleschenberg, that's hilarious. |
So it does! 😡
|
@rfleschenberg ... <3 |
I managed to write #7 (comment) before seeing #7 (comment) oops |
This disables all PEP8 checks, btw :) The problem is this: the trailing comma will be parsed as an empty ignore option. So flake8 passes this tuple of errors to ignore to pep8: Then, in pep8.py,
Because every string starts with the empty string, the first part of this check will always be true, so all checks that are not in |
Oh btw, seeing those newlines before the error codes, is there another bug here? Looks like the codes that should be ignored won't? :) |
<3 thanks all |
flake8 should have complained because of a missing blank line before the
class definition (my 5-line minimal test is a 6-line minimal test).
Lets try to make it really unhappy...