mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
1604cf255f
Provide a consistent formatting style and tox commands to lint and format. Bug: b/267675342 Change-Id: I33ddfe07af8473f4334c347d156246bfb66d4cfe Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/362954 Reviewed-by: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
11 lines
276 B
INI
11 lines
276 B
INI
[flake8]
|
|
max-line-length = 80
|
|
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,
|