---
source: crates/ruff_linter/src/rules/isort/mod.rs
snapshot_kind: text
---
split.py:15:1: I001 [*] Import block is un-sorted or un-formatted
   |
14 |   if True:
15 | /     import C
16 | |     import A
17 | | 
   | |_^ I001
18 |       # isort: split
   |
   = help: Organize imports

ℹ Safe fix
12 12 | import b
13 13 | 
14 14 | if True:
   15 |+    import A
15 16 |     import C
16    |-    import A
17 17 | 
18 18 |     # isort: split
19 19 | 

split.py:20:1: I001 [*] Import block is un-sorted or un-formatted
   |
18 |       # isort: split
19 |   
20 | /     import D
21 | |     import B
22 | | 
   | |_^ I001
23 |   
24 |   import e
   |
   = help: Organize imports

ℹ Safe fix
17 17 | 
18 18 |     # isort: split
19 19 | 
   20 |+    import B
20 21 |     import D
21    |-    import B
22 22 | 
23 23 | 
24 24 | import e

split.py:30:1: I001 [*] Import block is un-sorted or un-formatted
   |
28 |   # isort: split
29 |   
30 | / import d
31 | | import c
   |
   = help: Organize imports

ℹ Safe fix
27 27 | # isort: split
28 28 | # isort: split
29 29 | 
   30 |+import c
30 31 | import d
31    |-import c
