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

Using --ignore envokes E226 error #439

Closed
mFoxRU opened this issue Sep 16, 2015 · 1 comment
Closed

Using --ignore envokes E226 error #439

mFoxRU opened this issue Sep 16, 2015 · 1 comment

Comments

@mFoxRU
Copy link

mFoxRU commented Sep 16, 2015

Consider the following code:

print 1 + (2+3)

Running $ pep8 file.py gives no error. But adding --ignore= with any code gives:
file.py:1:14: E226 missing whitespace around arithmetic operator

@sigmavirus24
Copy link
Member

By specifying your own ignore, you're overriding the DEFAULT_IGNORE that pep8 uses. This is expected (and, if I remember correctly, documented) behaviour.

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

No branches or pull requests

2 participants