mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
pre-commit: enable Python flake8 rule E272 (#9361)
There should be only one space before a keyword.
This commit is contained in:
parent
c6d3f6e623
commit
806692bcea
3
.github/linters/.flake8
vendored
3
.github/linters/.flake8
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user