From bf5cacb3bb271a8046a484d485690f3ec4c4031a Mon Sep 17 00:00:00 2001 From: John Bampton Date: Thu, 22 Dec 2022 01:53:35 +1000 Subject: [PATCH] gha(linters): enable 7 more Python `flake8` checks (#7005) --- .github/linters/.flake8 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/linters/.flake8 b/.github/linters/.flake8 index f8a49a61f20..6a2235da688 100644 --- a/.github/linters/.flake8 +++ b/.github/linters/.flake8 @@ -15,10 +15,17 @@ # specific language governing permissions and limitations # under the License. +# E223 Tab before operator +# E224 Tab after operator +# E242 Tab after ',' +# E273 Tab after keyword +# E274 Tab before keyword +# E901 SyntaxError or IndentationError +# E902 IOError # W291 Trailing whitespace # W292 No newline at end of file # W293 Blank line contains whitespace # W391 Blank line at end of file [flake8] -select = W291,W292,W293,W391 +select = E223,E224,E242,E273,E274,E901,E902,W291,W292,W293,W391