From 97bd353df98dfea72f1d7d06b4d087b508a4c37a Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 15 Aug 2019 13:44:29 -0700 Subject: 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. --- .flake8 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to '.flake8') 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 -- cgit v1.2.3