Skip to content

Commit

Permalink
move import back, ignore E402
Browse files Browse the repository at this point in the history
  • Loading branch information
acaire committed Jan 29, 2016
1 parent 3e30534 commit 7a38d25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/cumulus
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License."""

import sys
from os.path import dirname, abspath
from cumulus import main

# Add one directory up to python path, so it can find cumulus package
BIN_DIR = dirname(abspath(__file__))
ROOT_DIR = dirname(BIN_DIR)
sys.path.insert(0, ROOT_DIR)

from cumulus import main

main()
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
test:
override:
- pip install flake8
- flake8 bin/cumulus .
- flake8 --ignore=E402 bin/cumulus .

0 comments on commit 7a38d25

Please sign in to comment.