mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
ea2e330e43
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>
14 lines
362 B
INI
14 lines
362 B
INI
[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
|
|
E203,
|
|
# E402: Module level import not at top of file
|
|
E402,
|
|
# E731: do not assign a lambda expression, use a def
|
|
E731,
|