pre-commit: enable Python flake8 rule E272 (#9361)

There should be only one space before a keyword.
This commit is contained in:
John Bampton 2024-07-10 17:17:25 +10:00 committed by GitHub
parent c6d3f6e623
commit 806692bcea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 20 additions and 19 deletions

View File

@ -23,6 +23,7 @@
# E227 Missing whitespace around bitwise or shift operator
# E242 Tab after ','
# E271 Multiple spaces after keyword
# E272 Multiple spaces before keyword
# E273 Tab after keyword
# E274 Tab before keyword
# E713 Test for membership should be 'not in'
@ -39,4 +40,4 @@
exclude =
.git,
venv
select = E112,E113,E133,E223,E224,E227,E242,E271,E273,E274,E713,E742,E743,E901,E902,W291,W292,W293,W391
select = E112,E113,E133,E223,E224,E227,E242,E271,E272,E273,E274,E713,E742,E743,E901,E902,W291,W292,W293,W391