---
source: crates/ruff/src/rules/isort/mod.rs
---
lines_after_imports_class_after.py:1:1: I001 [*] Import block is un-sorted or un-formatted
   |
 1 | / from __future__ import annotations
 2 | | 
 3 | | from typing import Any
 4 | | 
 5 | | from requests import Session
 6 | | 
 7 | | from my_first_party import my_first_party_object
 8 | | 
 9 | | from . import my_local_folder_object
10 | | class Thing(object):
   | |_^ I001
11 |     name: str
12 |     def __init__(self, name: str):
   |
   = help: Organize imports

ℹ Suggested fix
2  2  | 
3  3  | from typing import Any
4  4  | 
   5  |+from my_first_party import my_first_party_object
5  6  | from requests import Session
6  7  | 
7     |-from my_first_party import my_first_party_object
   8  |+from . import my_local_folder_object
   9  |+
   10 |+
8  11 | 
9     |-from . import my_local_folder_object
10 12 | class Thing(object):
11 13 |   name: str
12 14 |   def __init__(self, name: str):


