mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
076512aafa
The Google Python Style Guide [1] says that lambdas are OK for one-liners. All the current usages are one-liners, so let's just suppress it. [1] http://google.github.io/styleguide/pyguide.html#210-lambda-functions Change-Id: I404c7a8e5e71870caf0f4604862cbf01db495863 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255038 Tested-by: David Pursehouse <dpursehouse@collab.net> Reviewed-by: Mike Frysinger <vapier@google.com>
16 lines
405 B
INI
16 lines
405 B
INI
[flake8]
|
|
max-line-length=100
|
|
ignore=
|
|
# E111: Indentation is not a multiple of four
|
|
E111,
|
|
# E114: Indentation is not a multiple of four (comment)
|
|
E114,
|
|
# E402: Module level import not at top of file
|
|
E402,
|
|
# E731: do not assign a lambda expression, use a def
|
|
E731,
|
|
# W503: Line break before binary operator
|
|
W503,
|
|
# W504: Line break after binary operator
|
|
W504
|