Fix a bunch of flake8 warnings (#239)

Now that we have much better testing in CI this kind of change
should be much easier to make with confidence.
This commit is contained in:
Sam Clegg
2019-08-29 12:15:39 -07:00
committed by GitHub
parent 880be59788
commit 40495c0a31
2 changed files with 303 additions and 180 deletions

13
.flake8
View File

@@ -1,14 +1,19 @@
[flake8]
ignore = E111,E114,E501,E261,E266,E121,E402,E241,E701,
E722 # We have a bunch of base 'excepts' still
filename = ./emsdk.py, ./test.py
exclude = \
ignore =
E111, # Indentation is not a multiple of four
E114, # Indentation is not a multiple of four (comment)
E501, # Line too long
E261, # At least two spaces before inline comment
E121, # Continuation line under-indented for hanging indent
E722 # bare excepts
exclude =
./gnu
./upstream
./fastcomp
./releases
./clang
./emscripten
./binaryen
./git
./node
./python