-
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
isort incompatibilites with lowercase, MixedCase, UPPERCASE #673
Comments
Nice, thank you. |
This is described and controlled by the Do we like this? I don't feel strongly about it. |
To phrase it differently: ignoring isort compatibility, would we want this behavior? (I think it's worth implementing for compatibility purposes.) |
Interestingly, it looks like this just applies to |
(At the very least, making this clearer in #676.) |
Yeah, I think compatibility is the main value. In Zulip, the diff for I noticed another effect of case-sensitivity: -from typing import Type, TypeVar, TypedDict
+from typing import Type, TypedDict, TypeVar which would maybe a weak argument in favor, except that the effect on all-uppercase names is exactly the opposite: -from loud_typing import TYPE, TYPED_DICT, TYPE_VAR
+from loud_typing import TYPE, TYPE_VAR, TYPED_DICT 🤷 Uppercase modules are indeed rare but do exist: Zulip uses |
Haha yeah, now that I'm being forced to confront it, I find the |
isort --profile=black --ca
:ruff --select=I
:The text was updated successfully, but these errors were encountered: