summaryrefslogtreecommitdiff
path: root/tests/functional/c
diff options
context:
space:
mode:
authorJoe Young <80432516+jpy-git@users.noreply.github.com>2022-05-04 13:34:49 +0100
committerGitHub <noreply@github.com>2022-05-04 14:34:49 +0200
commit192da678b257e7b4dd458af9c818c8b409a10579 (patch)
tree83dc17826d2379202db46ec94d156e748602f3e8 /tests/functional/c
parent710997724e9f77556dfc1fe4bfb54b0469046d7b (diff)
downloadpylint-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/c')
-rw-r--r--tests/functional/c/cellvar_escaping_loop.py2
-rw-r--r--tests/functional/c/class_scope.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/c/cellvar_escaping_loop.py b/tests/functional/c/cellvar_escaping_loop.py
index c3f7c030d..0de26bede 100644
--- a/tests/functional/c/cellvar_escaping_loop.py
+++ b/tests/functional/c/cellvar_escaping_loop.py
@@ -1,4 +1,4 @@
-# pylint: disable=unnecessary-comprehension,missing-docstring,too-few-public-methods
+# pylint: disable=unnecessary-comprehension,missing-docstring,too-few-public-methods,unnecessary-direct-lambda-call
"""Tests for loopvar-in-closure."""
from __future__ import print_function
diff --git a/tests/functional/c/class_scope.py b/tests/functional/c/class_scope.py
index d86ebf95e..74db27443 100644
--- a/tests/functional/c/class_scope.py
+++ b/tests/functional/c/class_scope.py
@@ -1,4 +1,4 @@
-# pylint: disable=too-few-public-methods, useless-object-inheritance
+# pylint: disable=too-few-public-methods, useless-object-inheritance, unnecessary-lambda-assignment
"""check for scope problems"""
__revision__ = None