7 Commits

Author SHA1 Message Date
4dceacb6ff Convert remaining python scripts to run under python3 (#2643) 2020-02-11 18:25:31 -08:00
c8a797d120 Switch python indentation from 2-space to 4-space (#2299)
pep8 specifies 4 space indentation.  The use of 2 spaces is, I believe
a historical anomaly where certain large organizations such as google
chose 2 over 4 and have yet to make the switch.

Since there isn't too much code in binaryen today it seems reasonable to
make the switch.
2019-08-16 13:31:52 -07:00
1b8c19a021 Upgrade flake8 and run it on python 3 (#2297) 2019-08-13 13:12:58 -07:00
a8104784ff Cleanup scripts in scripts/test (#1566)
Remove executable bit and #! from scripts that don't have
entry point.

Add missing licence test.

Move arg parsing into a function.

Remove legacy --only_prepare (with underscrore) argument.
2018-05-25 16:37:09 -07:00
de4b36f881 Fix flake8 failures in scripts/ (#1239)
flake8 starts warning on bare "except:" in python scripts, and all CI job is failing for that.
2017-10-24 15:13:04 -07:00
d9e318c9d8 fix python spacing in some scripts (#841) 2016-11-15 11:24:47 -08:00
49ddf2f8ba add a pass fuzzer script (#709) 2016-09-23 21:14:24 -07:00