Skip to content

Commit

Permalink
[redundant-keyword-arg] Use the multiple files template
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Sep 13, 2023
1 parent b5ab3a8 commit 53025fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions doc/data/messages/r/redundant-keyword-arg/good/only_arg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
def square(x):
return x * x


square(5)
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ def square(x):


square(x=4)
# or
square(5)

0 comments on commit 53025fd

Please sign in to comment.