chore: normalize schematic.py and apply black to create_schematic signature
Bundles two changes for python/commands/schematic.py:
1. CRLF → LF line-ending normalization (matches the bulk renormalize
from the previous commit — was held back here because black would
also need to re-reformat it).
2. Black reflow of create_schematic()'s parameter list, which exceeded
the line length. Pre-existing drift, no logic change.
`git show --ignore-all-space HEAD` shows just the 2-line signature diff.
This commit is contained in:
@@ -13,7 +13,9 @@ class SchematicManager:
|
|||||||
"""Core schematic operations using kicad-skip"""
|
"""Core schematic operations using kicad-skip"""
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def create_schematic(name: str, metadata: Optional[Any] = None, *, path: Optional[str] = None) -> Any:
|
def create_schematic(
|
||||||
|
name: str, metadata: Optional[Any] = None, *, path: Optional[str] = None
|
||||||
|
) -> Any:
|
||||||
"""Create a new empty schematic from template"""
|
"""Create a new empty schematic from template"""
|
||||||
try:
|
try:
|
||||||
# Determine template path (use template_with_symbols for component cloning support)
|
# Determine template path (use template_with_symbols for component cloning support)
|
||||||
|
|||||||
Reference in New Issue
Block a user