From e0ab2a4bd4a9e0c62f724abde8d12b24566fc24c Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 10 Oct 2023 16:32:55 +1000 Subject: [PATCH] Enable four more `flake8` rules (#7811) --- .github/linters/.flake8 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/linters/.flake8 b/.github/linters/.flake8 index 1c239ac6985..f250719ca19 100644 --- a/.github/linters/.flake8 +++ b/.github/linters/.flake8 @@ -15,8 +15,12 @@ # specific language governing permissions and limitations # under the License. +# E112 Expected an indented block +# E113 Unexpected indentation +# E133 Closing bracket is missing indentation # E223 Tab before operator # E224 Tab after operator +# E227 Missing whitespace around bitwise or shift operator # E242 Tab after ',' # E273 Tab after keyword # E274 Tab before keyword @@ -30,4 +34,7 @@ # W391 Blank line at end of file [flake8] -select = E223,E224,E242,E273,E274,E742,E743,E901,E902,W291,W292,W293,W391 +exclude = + .git, + venv +select = E112,E113,E133,E223,E224,E227,E242,E273,E274,E742,E743,E901,E902,W291,W292,W293,W391