KiCad ships Python 3.9 on macOS (both v9 and v10), and `pcbnew.so` is compiled against that interpreter. The previous `>=3.10` floor was unreachable on macOS and docs referenced nonexistent `python3.11/site-packages` paths. Lower the floor and correct the docs; no source changes needed — all 49 files in `python/` already compile clean on 3.9. Also add `.venv/` to `.gitignore` (dotted form used by `python -m venv`). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
691 B
TOML
43 lines
691 B
TOML
[project]
|
|
name = "kicad-mcp-server"
|
|
version = "2.1.0"
|
|
requires-python = ">=3.9"
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py39"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 100
|
|
|
|
[tool.mypy]
|
|
python_version = "3.9"
|
|
warn_return_any = false
|
|
warn_unused_configs = true
|
|
check_untyped_defs = false
|
|
disallow_untyped_defs = false
|
|
explicit_package_bases = true
|
|
mypy_path = ".:python"
|
|
disable_error_code = [
|
|
"arg-type",
|
|
"attr-defined",
|
|
"union-attr",
|
|
"var-annotated",
|
|
"index",
|
|
]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = [
|
|
"pcbnew",
|
|
"cairosvg",
|
|
"sexpdata",
|
|
"skip",
|
|
"kipy",
|
|
"kipy.*",
|
|
"schematic",
|
|
"PIL",
|
|
"PIL.*",
|
|
]
|
|
ignore_missing_imports = true
|