Skip to content

Commit

Permalink
Fix E402 module level import not at top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhdu committed Mar 30, 2016
1 parent 81eb4b1 commit cb8140d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conda/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from conda.utils import md5_file, human_bytes
from conda import instructions as inst
from conda.exceptions import CondaException
log = getLogger(__name__)

# For backwards compatibility
from conda.instructions import (FETCH, EXTRACT, UNLINK, LINK, RM_EXTRACTED,
Expand All @@ -34,6 +33,7 @@
(FETCH, EXTRACT, UNLINK, LINK, RM_EXTRACTED, RM_FETCHED, PREFIX, PRINT,
PROGRESS, SYMLINK_CONDA)

log = getLogger(__name__)

def print_dists(dists_extras):
fmt = " %-27s|%17s"
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
here = os.path.abspath(os.path.dirname(__file__))
src_dir = os.path.join(here, "conda")
sys.path.insert(0, src_dir)
import auxlib # a build-time dependency only

import auxlib # noqa -- build-time dependency only
import conda # NOQA


Expand Down

0 comments on commit cb8140d

Please sign in to comment.