diff --git a/doc/data/messages/r/redundant-keyword-arg/good/only_arg.py b/doc/data/messages/r/redundant-keyword-arg/good/only_arg.py new file mode 100644 index 0000000000..abb71c8427 --- /dev/null +++ b/doc/data/messages/r/redundant-keyword-arg/good/only_arg.py @@ -0,0 +1,5 @@ +def square(x): + return x * x + + +square(5) diff --git a/doc/data/messages/r/redundant-keyword-arg/good.py b/doc/data/messages/r/redundant-keyword-arg/good/only_kwarg.py similarity index 75% rename from doc/data/messages/r/redundant-keyword-arg/good.py rename to doc/data/messages/r/redundant-keyword-arg/good/only_kwarg.py index 32352b77bc..b1a0958cf9 100644 --- a/doc/data/messages/r/redundant-keyword-arg/good.py +++ b/doc/data/messages/r/redundant-keyword-arg/good/only_kwarg.py @@ -3,5 +3,3 @@ def square(x): square(x=4) -# or -square(5)