Files
computer/libs/python/core/pyproject.toml
2025-08-17 09:03:10 -04:00

58 lines
1.1 KiB
TOML

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "cua-core"
version = "0.1.8"
description = "Core functionality for Cua including telemetry and shared utilities"
readme = "README.md"
authors = [
{ name = "TryCua", email = "gh@trycua.com" }
]
dependencies = [
"pydantic>=2.0.0",
"httpx>=0.24.0",
"posthog>=3.20.0"
]
requires-python = ">=3.11"
[tool.pdm]
distribution = true
[tool.pdm.build]
includes = ["core/"]
source-includes = ["tests/", "README.md", "LICENSE"]
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.ruff]
line-length = 100
target-version = "py311"
select = ["E", "F", "B", "I"]
fix = true
[tool.ruff.format]
docstring-code-format = true
[tool.mypy]
strict = true
python_version = "3.11"
ignore_missing_imports = true
disallow_untyped_defs = true
check_untyped_defs = true
warn_return_any = true
show_error_codes = true
warn_unused_ignores = false
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = "test_*.py"
[dependency-groups]
dev = [
"pytest>=8.3.5",
]