``` ruff check --select=PLW0211 - <<EOF class TestNew: @staticmethod def __new__(cls, title, *args, **kwargs): print(cls) EOF ``` > -:3:17: PLW0211 First argument of a static method should not be named `cls` This contradicts https://docs.python.org/3/reference/datamodel.html#basic-customization which uses `cls` and states that `__new__()` is a static method. PEP20 statement `Explicit is better than implicit.` suggests that `@staticmethod` should be allowed in this code.
This contradicts https://docs.python.org/3/reference/datamodel.html#basic-customization which uses
clsand states that__new__()is a static method.PEP20 statement
Explicit is better than implicit.suggests that@staticmethodshould be allowed in this code.