You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to get some linter warnings, but actually see an internal error:
Traceback (most recent call last):
File ".../flake8", line 8, in <module>
...
File ".../flake8_async/visitors/visitor91x.py", line 773, in leave_While_body
any_error |=self.error_91x(err_node, stmt)
File ".../flake8_async/visitors/visitor91x.py", line 455, in error_91xassertnotisinstance(statement, ArtificialStatement)
AssertionError
I'm very glad that we have this assertion to help detect the problem! cc @jakkdl for a fix?
The text was updated successfully, but these errors were encountered:
Consider the following code, extracted and simplified from something you might actually want to run:
We want to get some linter warnings, but actually see an internal error:
I'm very glad that we have this assertion to help detect the problem! cc @jakkdl for a fix?
The text was updated successfully, but these errors were encountered: