summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-08-15 13:44:29 -0700
committerGitHub <noreply@github.com>2019-08-15 13:44:29 -0700
commit97bd353df98dfea72f1d7d06b4d087b508a4c37a (patch)
tree6a297ae3c7bb357cfa16d8164f73149ffc75f46f /.flake8
parentdcaa42c6bcad851faf4af8076e2f301ddddd6f21 (diff)
downloadwabt-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--.flake85
1 files changed, 1 insertions, 4 deletions
diff --git a/.flake8 b/.flake8
index 2f8c669f..76b60063 100644
--- a/.flake8
+++ b/.flake8
@@ -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