From dc63181fcd3c34340e3acb5c72ae80539b5c7282 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 12 Feb 2020 16:42:39 +0900 Subject: [PATCH] flake8: Add comments in config to explain suppressed checks Change-Id: Ib5c09b36d40a96ba9167b42b3bd2f1ed072660b7 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254611 Tested-by: David Pursehouse Reviewed-by: Mike Frysinger --- .flake8 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 73a10a25..8b428805 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,13 @@ [flake8] max-line-length=100 -ignore=E111,E114,E402,W503,W504 +ignore= + # E111: Indentation is not a multiple of four + E111, + # E114: Indentation is not a multiple of four (comment) + E114, + # E402: Module level import not at top of file + E402, + # W503: Line break before binary operator + W503, + # W504: Line break after binary operator + W504