GitHub user franckcuny opened a pull request:
https://github.com/apache/libcloud/pull/271
Pep8 fixes
PEP8 1.5 introduced a bunch of new tests, and because of them the linter
fails. Each of this patch can be applied individually to fix the appropriate
errors. If all the patches are accepted, I'll be happy to squash them if it
makes more sense.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franckcuny/libcloud pep8-fixes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/271.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #271
----
commit 25f366d901bb409c9a2fc7fc5509ef81e1406d87
Author: Franck Cuny <[email protected]>
Date: 2014-03-30T18:13:21Z
flake8's --exclude flag doesn't like /
commit 97eb889350b52ef36ead26a3d787992741009f15
Author: Franck Cuny <[email protected]>
Date: 2014-03-30T18:17:34Z
Fix for PEP8's E265.
pep8 1.5 introduced a new test (E265) to ensure there's at least one
space before block comment.
commit 588cf1e48956a5584f997531810caa69b8515cb6
Author: Franck Cuny <[email protected]>
Date: 2014-03-30T18:20:04Z
Fix PEP8's E713 and E714.
Two new tests were introduced with pep8 1.5 to report when operators
'not in' and 'is not' are recommended.
commit 36c99237e24876a68dc8e4c49833e166a665412c
Author: Franck Cuny <[email protected]>
Date: 2014-03-30T18:22:15Z
Fix for various PEP8 errors.
Fix some visual alignments errors reported by pep8.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---