GitHub user briancurtin opened a pull request:
https://github.com/apache/libcloud/pull/167
Fix F401 errors from flake8
`flake8` emits warnings for names that are imported but not used. In most
cases, these either look like copy/pasted import blocks, or names left in from
debugging or after refactoring. Common unused names are the `sys` or `time`
modules, and base classes. Some modules were doing an import dance to get
`simplejson` or standard `json`, but those modules no longer parse json
directly, likely as the result of refactoring it to a lower level.
The `libcloud.utils.py3` module contains a lot of these unused imports, but
that's intentional. Because of that, it includes a `flake8: noqa` comment near
the top of the file to tell `flake8` to ignore it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/briancurtin/libcloud import_cleanup
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/167.patch
----
commit 088615f0a91dfd8200d9ad9546d5840cda5a8937
Author: briancurtin <[email protected]>
Date: 2013-10-25T17:02:17Z
Fix F401 errors from flake8
flake8 emits warnings for names that are imported but not used. In most
cases, these either look like copy/pasted import blocks, or names left
in from debugging or after refactoring. Common unused names are
the sys or time modules, and base classes. Some modules were doing an
import dance to get simplejson or standard json, but those modules no
longer parse json directly, likely as the result of refactoring it to a
lower level.
The libcloud.utils.py3 module contains a lot of these unused imports,
but that's intentional. Because of that, it includes a "flake8: noqa"
comment near the top of the file to tell flake8 to ignore it.
----