summaryrefslogtreecommitdiff
path: root/scripts/spidermonkify.py
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-06-05 10:13:18 -0700
committerGitHub <noreply@github.com>2018-06-05 10:13:18 -0700
commit465b18b4a1f9c0d44d927d22a1291ca89c29a896 (patch)
tree202d3a7c6fc4fcb0067fcbae9ef676c94df9eb27 /scripts/spidermonkify.py
parentbfae82fc4107a8115b41db4a2bd3d9204a92ad16 (diff)
downloadbinaryen-465b18b4a1f9c0d44d927d22a1291ca89c29a896.tar.gz
binaryen-465b18b4a1f9c0d44d927d22a1291ca89c29a896.tar.bz2
binaryen-465b18b4a1f9c0d44d927d22a1291ca89c29a896.zip
Increase flake8 coverage (#1586)
Diffstat (limited to 'scripts/spidermonkify.py')
-rw-r--r--scripts/spidermonkify.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/spidermonkify.py b/scripts/spidermonkify.py
index e5caaf0a8..a5306af15 100644
--- a/scripts/spidermonkify.py
+++ b/scripts/spidermonkify.py
@@ -14,21 +14,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-'''
-A bunch of hackish fixups for testing of SpiderMonkey support. We should
+"""A bunch of hackish fixups for testing of SpiderMonkey support. We should
get rid of these ASAP.
This is meant to be run using BINARYEN_SCRIPTS in emcc, and not standalone.
-'''
+"""
-import os
import subprocess
import sys
import emscripten
-binaryen_root = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
-
js_target = sys.argv[1]
wast_target = sys.argv[2]