Skip to content
Commit 076512aa authored by David Pursehouse's avatar David Pursehouse
Browse files

flake8: Suppress "E731 do not assign a lambda expression, use a def"



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: default avatarDavid Pursehouse <dpursehouse@collab.net>
Reviewed-by: default avatarMike Frysinger <vapier@google.com>
parent d8fda90e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment