---
source: crates/ruff_linter/src/rules/isort/mod.rs
---
skip.py:20:1: I001 [*] Import block is un-sorted or un-formatted
   |
18 |       import sys
19 |       import os  # isort: skip
20 | /     import collections
21 | |     import abc
22 | | 
   | |_^ I001
23 |   
24 |   def f():
   |
   = help: Organize imports

ℹ Safe fix
17 17 | def f():
18 18 |     import sys
19 19 |     import os  # isort: skip
   20 |+    import abc
20 21 |     import collections
21    |-    import abc
22 22 | 
23 23 | 
24 24 | def f():

skip.py:27:1: I001 [*] Import block is un-sorted or un-formatted
   |
25 |       import sys
26 |       import os  # isort:skip
27 | /     import collections
28 | |     import abc
29 | | 
   | |_^ I001
30 |   
31 |   def f():
   |
   = help: Organize imports

ℹ Safe fix
24 24 | def f():
25 25 |     import sys
26 26 |     import os  # isort:skip
   27 |+    import abc
27 28 |     import collections
28    |-    import abc
29 29 | 
30 30 | 
31 31 | def f():

skip.py:34:1: I001 [*] Import block is un-sorted or un-formatted
   |
32 |       import sys; import os  # isort:skip
33 |       import sys; import os  # isort:skip  # isort:skip
34 | /     import sys; import os
   |
   = help: Organize imports

ℹ Safe fix
31 31 | def f():
32 32 |     import sys; import os  # isort:skip
33 33 |     import sys; import os  # isort:skip  # isort:skip
34    |-    import sys; import os
   34 |+    import os
   35 |+    import sys


