---
source: crates/ruff_linter/src/rules/isort/mod.rs
---
I001 [*] Import block is un-sorted or un-formatted
  --> force_sort_within_sections.py:1:1
   |
 1 | / from a import a1  # import_from
 2 | | from c import * # import_from_star
 3 | | import a  # import
 4 | | import c.d
 5 | | from z import z1
 6 | | import b as b1  # import_as
 7 | | import z
 8 | |
 9 | | from ..parent import *
10 | | from .my import fn
11 | | from . import my
12 | | from .my.nested import fn2
13 | | from ...grandparent import fn3
   | |______________________________^
   |
help: Organize imports
   |
   - from a import a1  # import_from
   - from c import * # import_from_star
1  | import a  # import
2  + import b as b1  # import_as
3  | import c.d
4  + import z
5  + from a import a1  # import_from
6  + from c import *  # import_from_star
7  | from z import z1
   - import b as b1  # import_as
   - import z
8  |
9  + from ...grandparent import fn3
10 | from ..parent import *
11 + from . import my
12 | from .my import fn
   - from . import my
13 | from .my.nested import fn2
   - from ...grandparent import fn3
   |
