.. _no-classmethod-decorator: no-classmethod-decorator / R0202 ================================ **Message emitted:** ``Consider using a decorator instead of calling classmethod`` **Description:** *Used when a class method is defined without using the decorator syntax.* **Problematic code:** .. literalinclude:: /data/messages/n/no-classmethod-decorator/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/n/no-classmethod-decorator/good.py :language: python Created by the `classes `__ checker.