Skip to content

Commit 465b18b

Browse files
authored
Increase flake8 coverage (WebAssembly#1586)
1 parent bfae82f commit 465b18b

4 files changed

Lines changed: 11 additions & 16 deletions

File tree

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[flake8]
22
ignore = E111,E114,E501,E121
3-
exclude = ./test/
3+
exclude = ./test/emscripten,./test/waterfall,./test/spec,./test/wasm-install

.gitmodules

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
[submodule "test/waterfall"]
55
path = test/waterfall
66
url = https://github.com/WebAssembly/waterfall.git
7-
87
[submodule "test/emscripten"]
98
path = test/emscripten
109
url = https://github.com/kripken/emscripten.git

scripts/spidermonkify.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,17 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
'''
18-
A bunch of hackish fixups for testing of SpiderMonkey support. We should
17+
"""A bunch of hackish fixups for testing of SpiderMonkey support. We should
1918
get rid of these ASAP.
2019
2120
This is meant to be run using BINARYEN_SCRIPTS in emcc, and not standalone.
22-
'''
21+
"""
2322

24-
import os
2523
import subprocess
2624
import sys
2725

2826
import emscripten
2927

30-
binaryen_root = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
31-
3228
js_target = sys.argv[1]
3329
wast_target = sys.argv[2]
3430

test/llvm_autogenerated/llvm-to-s.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ def main(args):
6969
for ll_test in tests:
7070
name_noext = os.path.splitext(os.path.basename(ll_test))[0]
7171

72-
BLACKLIST = ['inline-asm', # inline asm containing invalid syntax
73-
'dbgvalue', # external global symbol
74-
'returned', # external global symbol
75-
'vtable', # external global symbol
76-
'offset-folding', # external global symbol
77-
'address-offsets', # external global symbol
78-
'memory-addr64', # wasm64
79-
'simd-arith', # No SIMD in binaryen yet
72+
BLACKLIST = ['inline-asm', # inline asm containing invalid syntax
73+
'dbgvalue', # external global symbol
74+
'returned', # external global symbol
75+
'vtable', # external global symbol
76+
'offset-folding', # external global symbol
77+
'address-offsets', # external global symbol
78+
'memory-addr64', # wasm64
79+
'simd-arith', # No SIMD in binaryen yet
8080
]
8181
if name_noext in BLACKLIST:
8282
continue

0 commit comments

Comments
 (0)