Fix linting issues and ground/power filtering in inter-module mapper

- Use CalVer dot notation (2026.2.13) for PEP 440 compliance
- Filter pinlabels for top-level components when ground/power hidden
- Fix unused variables, long lines, import ordering (ruff clean)
- Use StrEnum for PinDirection (Python 3.11+)
- Add .gitignore and README.md
- All 105 tests pass including WireViz roundtrip validation
This commit is contained in:
Ryan Malloy 2026-02-13 01:27:45 -07:00
parent e20a956f51
commit eb3ad60bd1
13 changed files with 1250 additions and 38 deletions

View file

@ -1,6 +1,12 @@
"""Tests for the filter engine."""
from spice2wireviz.filter import FilterConfig, apply_filters, filter_component, filter_instance, filter_net
from spice2wireviz.filter import (
FilterConfig,
apply_filters,
filter_component,
filter_instance,
filter_net,
)
from spice2wireviz.parser.models import (
ParsedNetlist,
SpiceComponent,