- 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
38 lines
826 B
TOML
38 lines
826 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "spice2wireviz"
|
|
version = "2026.2.13"
|
|
description = "Convert LTspice SPICE netlists to WireViz wiring diagrams"
|
|
authors = [{name = "Ryan Malloy", email = "ryan@supported.systems"}]
|
|
requires-python = ">=3.11"
|
|
license = {text = "MIT"}
|
|
readme = "README.md"
|
|
dependencies = [
|
|
"pyyaml>=6.0",
|
|
"click>=8.0",
|
|
"pydantic>=2.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
asc = ["spicelib>=1.4.9"]
|
|
dev = ["ruff", "pytest", "pytest-cov"]
|
|
|
|
[project.scripts]
|
|
spice2wireviz = "spice2wireviz.cli:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/spice2wireviz"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W", "UP", "B", "SIM", "RUF"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|