Skip to content

Commit

Permalink
Fix flake8 warning in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
psrb committed Nov 2, 2019
1 parent 5e8ae71 commit d564872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pylint_django/tests/input/func_unused_arguments.py
Expand Up @@ -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'})
Expand Down
4 changes: 2 additions & 2 deletions 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

0 comments on commit d564872

Please sign in to comment.