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

False positive for E401 #104

Closed
myint opened this issue Jul 8, 2012 · 1 comment
Closed

False positive for E401 #104

myint opened this issue Jul 8, 2012 · 1 comment
Labels
Milestone

Comments

@myint
Copy link
Member

myint commented Jul 8, 2012

From egg_info.py in setuptools (0.6c9).

$ pep8 blah.py --show-source
blah.py:1:17: E702 multiple statements on one line (semicolon)
import bdist_egg; bdist_egg.write_safety_flag(cmd.egg_info, safe)
                ^
blah.py:1:59: E401 multiple imports on one line
import bdist_egg; bdist_egg.write_safety_flag(cmd.egg_info, safe)
                                                          ^
florentx added a commit that referenced this issue Jul 14, 2012
@myint
Copy link
Member Author

myint commented Jul 17, 2012

Thanks.

@myint myint closed this as completed Jul 17, 2012
smira pushed a commit to smira/pep8 that referenced this issue Jul 25, 2012
* upstream/master: (169 commits)
  Fix false positive E401; issue PyCQA#104.
  Add tests for issue PyCQA#100.
  Fix false positive for continuation line indentation when line contains comments. Closes PyCQA#100
  Fix issue with bpython. Closes PyCQA#101
  Back to development.
  Fix crash, and release 1.3.3; issue PyCQA#98.
  Release version 1.3.2.
  Add E902 errors for IOErrors; issue PyCQA#87.
  Update README.
  A little bit of rewording.
  Revert to the pre-1.2 behavior: --show-pep8 does not imply --first; issue PyCQA#89.
  Fix errors on E121 and E124; issue PyCQA#92.
  Add changelog entries for issue PyCQA#86 and issue PyCQA#91.
  Fix the default configuration path on Windows. Issue PyCQA#95.
  Back to development.
  Allow 'verbose' to be specified in the config file
  Clarify .pep can be located in any parent folder
  Show maximum length in "E501 line too long" error message
  Release version 1.3.1.
  Do not read the configuration when used as a module.
  ...

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

No branches or pull requests

1 participant