New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flake8-coding fails on python 3.7 with "RuntimeError: generator raised StopIteration" #16
Comments
+1 on that issue. Any ETA on when the fix at #17 can be reviewed and merged and a new release made? |
LefterisJP
added a commit
to LefterisJP/raiden
that referenced
this issue
Sep 6, 2018
It does not work with python 3.7 and renders flake8 unusable (it crashes). An issue along with a fix has been reported to the maintainer [here](tk0miya/flake8-coding#16) but the repo seems to no longer be actively maintained. And to be honest we don't really need this module. The only thing it adds is a check for the magic comment in the beginning of the file. [skip ci]
LefterisJP
added a commit
to LefterisJP/raiden
that referenced
this issue
Sep 6, 2018
It does not work with python 3.7 and renders flake8 unusable (it crashes). An issue along with a fix has been reported to the maintainer [here](tk0miya/flake8-coding#16) but the repo seems to no longer be actively maintained. And to be honest we don't really need this module. The only thing it adds is a check for the magic comment in the beginning of the file. [skip ci]
LefterisJP
added a commit
to raiden-network/raiden
that referenced
this issue
Sep 6, 2018
It does not work with python 3.7 and renders flake8 unusable (it crashes). An issue along with a fix has been reported to the maintainer [here](tk0miya/flake8-coding#16) but the repo seems to no longer be actively maintained. And to be honest we don't really need this module. The only thing it adds is a check for the magic comment in the beginning of the file. [skip ci]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With PEP479 enforced on Python 3.7, raising
StopIteration
inside a generator causes aRuntimeError
.Simply return instead, and the generator will be terminated.
Caused by
flake8-coding/flake8_coding.py
Line 55 in 3af44ad
Full traceback:
The text was updated successfully, but these errors were encountered: