-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
pyreverse: add option to skip sorting of attribute and method names #8776
Comments
I feel like this is a very subjective thing if sorting is desired or not. So I would like to vote for this: 🚀 keep the sorting |
Maybe another possibility would be to add an option to be able to do both ? |
Agree. It would be better to add an option to let the user decide. |
For additional context: Completely removing the sorting would also be problematic for the existing unit tests, as they require deterministic output. |
Testing requires deterministic output, but not alphabetical sorting. Sorting by code order would be just as testable. Obtaining that order will be a little trickier, depending on the existing sources of nondeterminism (sets, dictionaries, etc). Sorting by code order will require some work on somebody's part (somebody other than me, because I don't care either way 😎). |
Current problem
pyreverse output uml with class member names sorted.
Desired solution
do not sort class member names
Additional context
No response
The text was updated successfully, but these errors were encountered: