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