diff options
author | Joe Young <80432516+jpy-git@users.noreply.github.com> | 2022-05-04 13:34:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 14:34:49 +0200 |
commit | 192da678b257e7b4dd458af9c818c8b409a10579 (patch) | |
tree | 83dc17826d2379202db46ec94d156e748602f3e8 /tests/functional/n/none_dunder_protocols_py38.txt | |
parent | 710997724e9f77556dfc1fe4bfb54b0469046d7b (diff) | |
download | pylint-git-192da678b257e7b4dd458af9c818c8b409a10579.tar.gz |
C2901 & C2902: New checks for unnecessary lambda expression usage (#6004)
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/functional/n/none_dunder_protocols_py38.txt')
-rw-r--r-- | tests/functional/n/none_dunder_protocols_py38.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/n/none_dunder_protocols_py38.txt b/tests/functional/n/none_dunder_protocols_py38.txt new file mode 100644 index 000000000..7af358c81 --- /dev/null +++ b/tests/functional/n/none_dunder_protocols_py38.txt @@ -0,0 +1 @@ +unnecessary-lambda-assignment:7:20:7:31:NamedExpressionClass.<lambda>:"Lambda expression assigned to a variable. Define a function using the ""def"" keyword instead.":HIGH |