We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bad-dunder-method-name
__html__
The __html__ dunder method is used by Jinja2, Django and other frameworks (?) to return the "safe" html representation of an object.
There doesn't seem to be an equivalent of pylint's good-dunder-names in ruff. Would it be acceptable to add __html__ to the allow list?
The text was updated successfully, but these errors were encountered:
I'm willing to make a PR if this is accepted
Sorry, something went wrong.
Yes that seems reasonable. PR appreciated!
Extend bad-dunder-method-name to permit __html__ (#7492)
c946bf1
## Summary Fixes #7478 ## Test Plan `cargo test`
Successfully merging a pull request may close this issue.
The
__html__
dunder method is used by Jinja2, Django and other frameworks (?) to return the "safe" html representation of an object.There doesn't seem to be an equivalent of pylint's good-dunder-names in ruff. Would it be acceptable to add
__html__
to the allow list?The text was updated successfully, but these errors were encountered: