diff --git a/doc/data/messages/b/bad-staticmethod-argument/bad.py b/doc/data/messages/b/bad-staticmethod-argument/bad.py new file mode 100644 index 0000000000..a46d65a48a --- /dev/null +++ b/doc/data/messages/b/bad-staticmethod-argument/bad.py @@ -0,0 +1,4 @@ +class Wolf: + @staticmethod + def eat(self): # [bad-staticmethod-argument] + pass diff --git a/doc/data/messages/b/bad-staticmethod-argument/good.py b/doc/data/messages/b/bad-staticmethod-argument/good.py new file mode 100644 index 0000000000..7ad83f4929 --- /dev/null +++ b/doc/data/messages/b/bad-staticmethod-argument/good.py @@ -0,0 +1,4 @@ +class Wolf: + @staticmethod + def eat(sheep): + pass