-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (68 loc) · 2.31 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (68 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[build-system]
requires = ["hatchling>=1.24"]
build-backend = "hatchling.build"
[project]
name = "kcd"
version = "0.1.0"
description = "Agentic KiCad harness for Claude Code and other MCP/CLI-driven AI tools"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "kcd contributors" }]
requires-python = ">=3.11"
keywords = ["kicad", "pcb", "schematic", "eda", "claude-code", "agentic", "automation"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
]
dependencies = [
"typer>=0.12",
"rich>=13.7",
"pydantic>=2.6",
"kicad-python>=0.5",
"kicad-skip>=0.2.5",
"resvg-py>=0.3.2",
]
[project.optional-dependencies]
freerouting = []
mcp = ["mcp>=1.0"]
dev = [
"pytest>=8",
"pytest-cov>=5",
"ruff>=0.5",
"mypy>=1.10",
]
[project.scripts]
kcd = "kcd.cli:app"
kcd-mcp = "kcd_mcp.__main__:main"
[project.urls]
Repository = "https://github.com/AlexSabaka/kcd"
Issues = "https://github.com/AlexSabaka/kcd/issues"
[tool.hatch.build.targets.wheel]
# The vendored kicad-happy analyzer engine lives at `src/kcd/analyzers/`, so
# it ships inside the wheel natively as part of the `kcd` package — no
# force-include needed. `skills/kicad/` (SKILL.md + references) is skill
# content consumed by the agent skill system, not the kcd runtime, so it is
# intentionally not bundled into the Python wheel.
packages = ["src/kcd", "src/kcd_mcp"]
[tool.ruff]
line-length = 100
target-version = "py311"
# Vendored third-party analyzer engine — not kcd's own code, not linted.
extend-exclude = ["src/kcd/analyzers"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "SIM", "RUF"]
[tool.ruff.lint.flake8-bugbear]
# typer builds CLIs by putting typer.Option / typer.Argument sentinels in
# parameter defaults — the framework's intended pattern, not a mutable-
# default bug, so B008 should not flag them.
extend-immutable-calls = ["typer.Argument", "typer.Option"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -q"