From 53025fde56c4b58cfbfefa7af579349c5e6619e9 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Tue, 12 Sep 2023 21:32:55 +0200 Subject: [PATCH] [redundant-keyword-arg] Use the multiple files template --- doc/data/messages/r/redundant-keyword-arg/good/only_arg.py | 5 +++++ .../r/redundant-keyword-arg/{good.py => good/only_kwarg.py} | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 doc/data/messages/r/redundant-keyword-arg/good/only_arg.py rename doc/data/messages/r/redundant-keyword-arg/{good.py => good/only_kwarg.py} (75%) 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)