Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
So it doesn't say it isn't justified, it indicates that you might want to reconsider. So by leaving out that nuance, you're promoting this to a binary bad/wrong label which it really isn't. Also consider it's a bit obsolete in context of for example dataclasses and custom exceptions, as those often have 0 methods unless you need something extra from them. See for example complaint tickets about these https://github.com/PyCQA/pylint/issues/4464 and https://github.com/PyCQA/pylint/issues/3732. So to summarize, using a linter's best effort to indicate something that can easily be a non-issue isn't exactly the best source for programming style rules.