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

Syntax Error is incorrectly mapped to E class. Should be F class #73

Closed
asottile opened this issue Apr 3, 2021 · 2 comments
Closed

Comments

@asottile
Copy link
Member

asottile commented Apr 3, 2021

In GitLab by @sigmavirus24 on Jan 25, 2015, 09:09

Given the following code:

foo = 0
foo++

pep8 alone reports no errors. pyflakes reports a SyntaxError correctly while flake8 reports this as a syntax error with code E901. The error code should come from pyflakes's namespace though and should be F901.

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @sigmavirus24 on Feb 22, 2015, 10:07

Actually this comes from pep8, so there's no problems here.

@asottile
Copy link
Member Author

asottile commented Apr 3, 2021

In GitLab by @sigmavirus24 on Feb 22, 2015, 10:07

Milestone removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant