You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2022/12/21 15:53:41 UTC
[cloudstack] branch main updated: gha(linters): enable 7 more Python `flake8` checks (#7005)
This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new bf5cacb3bb2 gha(linters): enable 7 more Python `flake8` checks (#7005)
bf5cacb3bb2 is described below
commit bf5cacb3bb271a8046a484d485690f3ec4c4031a
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu Dec 22 01:53:35 2022 +1000
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