Skip to content

PEP8 E305 blank lines#606

Merged
jmchilton merged 4 commits intogalaxyproject:masterfrom
peterjc:pep8_linting
Dec 9, 2016
Merged

PEP8 E305 blank lines#606
jmchilton merged 4 commits intogalaxyproject:masterfrom
peterjc:pep8_linting

Conversation

@peterjc
Copy link
Contributor

@peterjc peterjc commented Dec 8, 2016

Recent changes on the master have broken the TravisCI build, this pull request addresses the new PEP8 blank line violations etc

The pep8 tool is now stricter about the blocks it expects
imports to be broken up into. This includes local imports.
This error message could have been more useful:

$ flake8 --select I100 planemo/commands/cmd_travis_init.py
planemo/commands/cmd_travis_init.py:9:1: I100 Import statements are in the wrong order. from planemo should be before from planemo
@jmchilton
Copy link
Member

Awesome sauce - thanks a bunch!

@peterjc
Copy link
Contributor Author

peterjc commented Dec 8, 2016

Travis is happy with the lint checks :)

@peterjc
Copy link
Contributor Author

peterjc commented Dec 8, 2016

See also flake8-import-order pull request PyCQA/flake8-import-order#98

This is to address docstring linting warnings from pydocstyle.

Also I am consistently using a multi-line layout even when
there is a single entry, and using double quotes.

Should close issue galaxyproject#607
@jmchilton jmchilton merged commit e863156 into galaxyproject:master Dec 9, 2016
@peterjc peterjc deleted the pep8_linting branch January 25, 2017 15:45
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

Successfully merging this pull request may close these issues.

2 participants