From d56487268ef07eaa7b0f6ca346438f0dea699f9a Mon Sep 17 00:00:00 2001 From: Pascal Urban Date: Sat, 2 Nov 2019 14:30:58 +0100 Subject: [PATCH] Fix flake8 warning in test case --- pylint_django/tests/input/func_unused_arguments.py | 1 + pylint_django/tests/input/func_unused_arguments.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pylint_django/tests/input/func_unused_arguments.py b/pylint_django/tests/input/func_unused_arguments.py index c91c9af2..438c13c2 100644 --- a/pylint_django/tests/input/func_unused_arguments.py +++ b/pylint_django/tests/input/func_unused_arguments.py @@ -14,6 +14,7 @@ request = None # pylint: disable=invalid-name + def user_detail(request, user_id): # [unused-argument] # nothing is done with user_id return JsonResponse({'username': 'steve'}) diff --git a/pylint_django/tests/input/func_unused_arguments.txt b/pylint_django/tests/input/func_unused_arguments.txt index 91a50170..cd3d120e 100644 --- a/pylint_django/tests/input/func_unused_arguments.txt +++ b/pylint_django/tests/input/func_unused_arguments.txt @@ -1,2 +1,2 @@ -unused-argument:17:user_detail:Unused argument 'user_id':HIGH -unused-argument:23:UserView.get:Unused argument 'user_id':INFERENCE +unused-argument:18:user_detail:Unused argument 'user_id':HIGH +unused-argument:24:UserView.get:Unused argument 'user_id':INFERENCE