diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-21 11:54:45 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-21 13:41:09 -0400 |
commit | 68d4c1e559fef510e257b36d69fd907b16830efd (patch) | |
tree | 4d51bca4f619900f600f745d5fe788314e08ab55 /test cases | |
parent | 4dbbb4884c205a1b82ac0deb9c751161a44534fd (diff) | |
download | meson-68d4c1e559fef510e257b36d69fd907b16830efd.zip meson-68d4c1e559fef510e257b36d69fd907b16830efd.tar.gz meson-68d4c1e559fef510e257b36d69fd907b16830efd.tar.bz2 |
flake8: disable E731: do not assign a lambda expression, use a def
It has too many false positives. It was complaining about things like
if this:
fn = some_func
else:
fn = lambda x: ...
Where obviously, "fn" can't be a def, and it would be silly to introduce
some other name to use as the def, just to assign it to fn.
Diffstat (limited to 'test cases')
0 files changed, 0 insertions, 0 deletions