From 7390b6fd0b2f80a1d3dc09327f959bffff5a94b0 Mon Sep 17 00:00:00 2001 From: SupImDos <62866982+SupImDos@users.noreply.github.com> Date: Sat, 11 Sep 2021 13:31:12 +0800 Subject: Fix no-self-use and docparams extension for async functions/methods (#4986) * Fixed 'no-self-check' for async functions. * fixed 'docparams' for async functions. * Added 'no-self-use' to the pylint disable comment in broken test. * Added small changelog entry to Pylint 2.11.0 milestone. * Added test: 'no-self-use' for async method. * Added test: revamped 'docparams' functional tests to test all missing documentation. Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas --- tests/functional/a/assign/assignment_from_no_return_py3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/functional/a') diff --git a/tests/functional/a/assign/assignment_from_no_return_py3.py b/tests/functional/a/assign/assignment_from_no_return_py3.py index 7b1abd59f..cb6dcd962 100644 --- a/tests/functional/a/assign/assignment_from_no_return_py3.py +++ b/tests/functional/a/assign/assignment_from_no_return_py3.py @@ -1,4 +1,4 @@ -# pylint: disable=missing-docstring,too-few-public-methods +# pylint: disable=missing-docstring,too-few-public-methods,no-self-use import asyncio -- cgit v1.2.1