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
It would be great if you could use a dict or even lists in rule options.
Let's say I want to enforce aliased imports for specific modules inside my codebase.
I would create a AliasedImportRule rule.
If I have multiple aliases I want to enforce, I need multiple rule instances.
It would be easier if I could just pass a mapping of aliases to my rule, especially if I want to distribute that rule in a package for other people to use.
The text was updated successfully, but these errors were encountered:
It would be great if you could use a dict or even lists in rule options.
Let's say I want to enforce aliased imports for specific modules inside my codebase.
I would create a
AliasedImportRule
rule.If I have multiple aliases I want to enforce, I need multiple rule instances.
It would be easier if I could just pass a mapping of aliases to my rule, especially if I want to distribute that rule in a package for other people to use.
The text was updated successfully, but these errors were encountered: