You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
You can see above how all title-cased and upper-cased strings bubble up at the top of the list. This is normal as it is the natural order of sorted strings in Python.
What I would like to have is a parameter or a configuration option so I can instead have the elements of the __all__ list sorted regardless of the case. I.e., in the case I presented here, I expect the __all__ to look like this:
My main motivation to have this flavour of sorting is so I can visually inspect that for each of my main classe (like Argument), I have a corresponding decorator (the lower-cased argument) publicly available at the root of my library.
The text was updated successfully, but these errors were encountered:
Let's say I have the following
__all__
already set:When running asort 0.1.3, I get the following results:
You can see above how all title-cased and upper-cased strings bubble up at the top of the list. This is normal as it is the natural order of sorted strings in Python.
What I would like to have is a parameter or a configuration option so I can instead have the elements of the
__all__
list sorted regardless of the case. I.e., in the case I presented here, I expect the__all__
to look like this:My main motivation to have this flavour of sorting is so I can visually inspect that for each of my main classe (like
Argument
), I have a corresponding decorator (the lower-casedargument
) publicly available at the root of my library.The text was updated successfully, but these errors were encountered: