Skip to content
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

--add-noqa introduces syntax error for continuations #2784

Closed
charliermarsh opened this issue Feb 11, 2023 · 0 comments · Fixed by #2783
Closed

--add-noqa introduces syntax error for continuations #2784

charliermarsh opened this issue Feb 11, 2023 · 0 comments · Fixed by #2783
Labels
bug Something isn't working

Comments

@charliermarsh
Copy link
Member

If you use --add-noqa on this snippet:

print(1)
from very_long_module\
    import nothing

We change it to this, which is a syntax error:

print(1)
from very_long_module\  # noqa: E402
    import nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant