diff options
author | Sam Clegg <sbc@chromium.org> | 2019-08-15 13:44:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-15 13:44:29 -0700 |
commit | 97bd353df98dfea72f1d7d06b4d087b508a4c37a (patch) | |
tree | 6a297ae3c7bb357cfa16d8164f73149ffc75f46f /.flake8 | |
parent | dcaa42c6bcad851faf4af8076e2f301ddddd6f21 (diff) | |
download | wabt-97bd353df98dfea72f1d7d06b4d087b508a4c37a.tar.gz wabt-97bd353df98dfea72f1d7d06b4d087b508a4c37a.tar.bz2 wabt-97bd353df98dfea72f1d7d06b4d087b508a4c37a.zip |
Switch python indentation from 2-space to 4-space (#1145)
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.
For a project like wabt with little python code I think the cost of
switching is small enough to justify the churn.
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,8 +1,5 @@ [flake8] ignore = - E111, # indentation not a multiple of 4 (we use 2)) - E114, # comment indentation not a multiple of 4 E501, # line too long - E121, # continuation line under-indented for hanging indent W504 # line break after binary operator -exclude = ./third_party +exclude = ./third_party ./out |