diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-10-26 11:29:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-26 11:29:28 -0700 |
commit | be9de0645a10d16a2de007d97429d775adf3d178 (patch) | |
tree | 51afbf240a9a01a5d137999572e97ff9472afc61 | |
parent | e963b31c815193ade24334c142f9aab94a4dd9c7 (diff) | |
download | wabt-be9de0645a10d16a2de007d97429d775adf3d178.tar.gz wabt-be9de0645a10d16a2de007d97429d775adf3d178.tar.bz2 wabt-be9de0645a10d16a2de007d97429d775adf3d178.zip |
Move import to top of Python file (#191)
Move import to top of Python file, and remove extra blank lines to satisfy Appveyor's version of flake8
-rw-r--r-- | appveyor.yml | 2 | ||||
-rwxr-xr-x | scripts/gen-emscripten-exported-json.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/appveyor.yml b/appveyor.yml index f461afc5..350e4641 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,7 +25,7 @@ install: before_build: # Check the style of a subset of Python code until the other code is updated. - - flake8 --ignore=E111 ./scripts/ + - flake8 --ignore=E111,E114 ./scripts/ build_script: - cmake . -DCMAKE_BUILD_TYPE=%CONFIG% -G "%GENERATOR%" diff --git a/scripts/gen-emscripten-exported-json.py b/scripts/gen-emscripten-exported-json.py index f183b036..6e563680 100755 --- a/scripts/gen-emscripten-exported-json.py +++ b/scripts/gen-emscripten-exported-json.py @@ -21,6 +21,8 @@ import os import re import sys +from utils import Executable, Error + SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) ROOT_DIR = os.path.dirname(SCRIPT_DIR) TEST_DIR = os.path.join(ROOT_DIR, 'test') @@ -28,8 +30,6 @@ DEFAULT_EMSCRIPTEN_DIR = os.path.join(ROOT_DIR, 'emscripten') sys.path.append(TEST_DIR) -from utils import Executable, Error - def FindFiles(cmake_build_dir): result = [] |