From ea2e330e43c182dc16b0111ebc69ee5a71ee4ce1 Mon Sep 17 00:00:00 2001 From: Gavin Mak Date: Sat, 11 Mar 2023 06:46:20 +0000 Subject: 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 Tested-by: Gavin Mak Commit-Queue: Gavin Mak --- .flake8 | 3 +++ 1 file changed, 3 insertions(+) (limited to '.flake8') diff --git a/.flake8 b/.flake8 index 82453b56..dd7f4d36 100644 --- a/.flake8 +++ b/.flake8 @@ -1,5 +1,8 @@ [flake8] max-line-length = 80 +per-file-ignores = + # E501: line too long + tests/test_git_superproject.py: E501 extend-ignore = # E203: Whitespace before ':' # See https://github.com/PyCQA/pycodestyle/issues/373 -- cgit v1.2.3-54-g00ecf