ruff
[`pylint`] - Allow `__new__` methods to have `cls` as their first argument even if decorated with `@staticmethod` for `bad-staticmethod-argument` (`PLW0211`)
#12958
Merged

[`pylint`] - Allow `__new__` methods to have `cls` as their first argument even if decorated with `@staticmethod` for `bad-staticmethod-argument` (`PLW0211`) #12958

diceroll123
diceroll123 [`pylint`] - fix `__new__(cls, ...)` for `bad-staticmethod-argument` …
54b8a09b
github-actions
AlexWaygood
AlexWaygood approved these changes on 2024-08-18
AlexWaygood AlexWaygood changed the title [`pylint`] - fix `__new__(cls, ...)` for `bad-staticmethod-argument` (`PLW0211`) [`pylint`] - Allow `__new__` methods to have `cls` as their first argument even if decorated with `@staticmethod` for `bad-staticmethod-argument` (`PLW0211`) 1 year ago
AlexWaygood AlexWaygood merged 81a2220c into main 1 year ago
dhruvmanila dhruvmanila added bug

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone