Files
capnpc-py/pyproject.toml

50 lines
1.1 KiB
TOML

[project]
name = "capnpc-py"
version = "0.1.0"
description = "Cap'n Proto Python type stub generator (capnp compile plugin)"
requires-python = ">=3.10,<4"
dependencies = ["pycapnp~=2.0"]
license = "MIT"
readme = "README.md"
keywords = ["capnp", "capnproto", "pyi", "stub", "type-hints"]
authors = [
{name = "HivertMoZara",email = "worldmozara@163.com"},
]
[project.urls]
Repository = "https://github.com/NCBM/capnpc-py"
[project.scripts]
capnpc-py = "capnp_stubgen.plugin:main"
[dependency-groups]
dev = [
"pytest>=8",
"basedpyright>=1.39.9",
]
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[tool.pdm]
distribution = true
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["slow: slow tests (dummy.capnp, generics, interface)"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.basedpyright]
typeCheckingMode = "recommended"
allowedUntypedLibraries = ["pycapnp"]
reportImportCycles = "hint"
# Downgraded to hint for capnp to_dict() dynamic data patterns
reportUnknownVariableType = "hint"
reportUnknownMemberType = "hint"
reportAny = "hint"
reportExplicitAny = "hint"