summaryrefslogtreecommitdiffstats
path: root/.flake8
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2023-03-11 06:46:20 +0000
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-22 17:46:28 +0000
commitea2e330e43c182dc16b0111ebc69ee5a71ee4ce1 (patch)
treedc33ba0e56825b3e007d0589891756724725a465 /.flake8
parent1604cf255f8c1786a23388db6d5277ac7949a24a (diff)
downloadgit-repo-ea2e330e43c182dc16b0111ebc69ee5a71ee4ce1.tar.gz
Format codebase with black and check formatting in CQ
Apply rules set by https://gerrit-review.googlesource.com/c/git-repo/+/362954/ across the codebase and fix any lingering errors caught by flake8. Also check black formatting in run_tests (and CQ). Bug: b/267675342 Change-Id: I972d77649dac351150dcfeb1cd1ad0ea2efc1956 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/363474 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
Diffstat (limited to '.flake8')
-rw-r--r--.flake83
1 files changed, 3 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
index 82453b56..dd7f4d36 100644
--- a/.flake8
+++ b/.flake8
@@ -1,5 +1,8 @@
1[flake8] 1[flake8]
2max-line-length = 80 2max-line-length = 80
3per-file-ignores =
4 # E501: line too long
5 tests/test_git_superproject.py: E501
3extend-ignore = 6extend-ignore =
4 # E203: Whitespace before ':' 7 # E203: Whitespace before ':'
5 # See https://github.com/PyCQA/pycodestyle/issues/373 8 # See https://github.com/PyCQA/pycodestyle/issues/373