---
source: crates/ruff_linter/src/rules/isort/mod.rs
---
I001 [*] Import block is un-sorted or un-formatted
  --> inline_comments.py:1:1
   |
 1 | / from a.prometheus.metrics import (  # type:ignore[attr-defined]
 2 | |     TERMINAL_CURRENTLY_RUNNING_TOTAL,
 3 | | )
 4 | |
 5 | | from b.prometheus.metrics import (
 6 | |     TERMINAL_CURRENTLY_RUNNING_TOTAL,  # type:ignore[attr-defined]
 7 | | )
 8 | |
 9 | | from c.prometheus.metrics import TERMINAL_CURRENTLY_RUNNING_TOTAL  # type:ignore[attr-defined]
10 | |
11 | | from d.prometheus.metrics import TERMINAL_CURRENTLY_RUNNING_TOTAL, OTHER_RUNNING_TOTAL  # type:ignore[attr-defined]
   | |______________________________________________________________________________________^
   |
help: Organize imports
   |
3  | )
   -
4  | from b.prometheus.metrics import (
5  |     TERMINAL_CURRENTLY_RUNNING_TOTAL,  # type:ignore[attr-defined]
6  | )
   -
   - from c.prometheus.metrics import TERMINAL_CURRENTLY_RUNNING_TOTAL  # type:ignore[attr-defined]
   -
   - from d.prometheus.metrics import TERMINAL_CURRENTLY_RUNNING_TOTAL, OTHER_RUNNING_TOTAL  # type:ignore[attr-defined]
7  + from c.prometheus.metrics import (
8  +     TERMINAL_CURRENTLY_RUNNING_TOTAL,  # type:ignore[attr-defined]
9  + )
10 + from d.prometheus.metrics import (  # type:ignore[attr-defined]
11 +     OTHER_RUNNING_TOTAL,
12 +     TERMINAL_CURRENTLY_RUNNING_TOTAL,
13 + )
   |
