---
source: crates/ruff/src/rules/isort/mod.rs
---
leading_prefix.py:1:8: I001 [*] Import block is un-sorted or un-formatted
  |
1 |   x = 1; import sys
  |  ________^
2 | | import os
  | |_________^ I001
3 |   
4 |   if True:
  |
  = help: Organize imports

leading_prefix.py:5:12: I001 [*] Import block is un-sorted or un-formatted
  |
5 |   if True:
6 |       x = 1; import sys
  |  ____________^
7 | |     import os
  | |_____________^ I001
8 |   
9 |   if True:
  |
  = help: Organize imports

leading_prefix.py:10:9: I001 [*] Import block is un-sorted or un-formatted
   |
10 | if True:
11 |     x = 1; \
12 |         import os
   |         ^^^^^^^^^ I001
13 | 
14 | x = 1; \
   |
   = help: Organize imports

leading_prefix.py:13:1: I001 [*] Import block is un-sorted or un-formatted
   |
13 | x = 1; \
14 | import os
   | ^^^^^^^^^ I001
   |
   = help: Organize imports


