summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml2
-rwxr-xr-xscripts/gen-emscripten-exported-json.py4
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 = []