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
Currently, ruff supports enforcing importing packages/modules under aliases. It would be, however, nice to have a feature to forbid some aliases which might be considered non-standard at some companies.
Ooh, I almost replied saying we support this via aliases, but you're talking about the inverse: ban certain aliases. That makes sense to me! (And thank you for the kind words :))
🚀 Feature request
Currently,
ruff
supports enforcing importing packages/modules under aliases. It would be, however, nice to have a feature to forbid some aliases which might be considered non-standard at some companies.For example, with a hypothetical configuration
the following import
should raise an error.
Thanks a lot for all your hard work. Ruff is an amazing tool ❤️
The text was updated successfully, but these errors were encountered: