imports_granularity = "Module"
merges top-level modules into a single use
statement
#6191
Labels
imports_granularity = "Module"
merges top-level modules into a single use
statement
#6191
Documented behavior
The current docs for
imports_granularity = "Module"
say this:The current example in docs looks like this:
Current formatting of "top-level" modules
For imports of a entire modules, when the path only has a single item (no submodules), the current output when using
imports_granularity = "Module"
is to format like this:Suggested formatting of "top-level" modules
The docs say "imports from different modules are split into separate statements". My reading of the docs and my intuition would say the formatting should instead look like this:
The text was updated successfully, but these errors were encountered: