style: sort Python imports with isort

Add isort configuration (profile=black, line_length=100) to pyproject.toml,
add isort pre-commit hook, and auto-sort imports across all Python source files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eugene Mikhantyev
2026-03-29 13:02:24 +01:00
parent 75cead0860
commit c44bd9205d
50 changed files with 226 additions and 179 deletions

View File

@@ -1,10 +1,11 @@
from skip import Schematic
import logging
import os
import uuid
import logging
from pathlib import Path
from typing import Optional
from skip import Schematic
logger = logging.getLogger(__name__)
# Import dynamic symbol loader
@@ -350,9 +351,9 @@ class ComponentManager:
if __name__ == "__main__":
# Example Usage (for testing)
from schematic import (
from schematic import ( # Assuming schematic.py is in the same directory
SchematicManager,
) # Assuming schematic.py is in the same directory
)
# Create a new schematic
test_sch = SchematicManager.create_schematic("ComponentTestSchematic")