Replies: 1 comment 1 reply
-
I believe this would be covered by #3946 / #5271 — seems really nice to have! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋
This is just an idea, not a feature request (but if you like, it is).
On Pydantic, there was a PR reordering the methods on a class (pydantic/pydantic#6260), and there was an internal discussion about "how to enforce" this kind of change. And well... I thought about suggesting two rules:
__init__
, then non dunder methods, then dunder methods).Do you think this makes sense?
Beta Was this translation helpful? Give feedback.
All reactions