Bump version to 1.0.0 and pin the donglora dep to >=1.0.0,<2.0.0 (PyPI), matching the freshly-published donglora 1.0.0 client. Also knock out two preexisting lint failures surfaced by the release-time `just check` gauntlet: * orac/crypto.py: drop the redundant int() wrap around round() (RUF046). * orac/state.py: widen _state value type to include list[list[float]] so heard_positions type-checks under pyright.
45 lines
900 B
TOML
45 lines
900 B
TOML
[project]
|
|
name = "donglora-ai-bot"
|
|
version = "1.0.0"
|
|
description = "MeshCore AI chatbot — default mesh name 'Orac'"
|
|
license = "MIT"
|
|
requires-python = ">=3.10"
|
|
authors = [{ name = "Stephen Waits" }]
|
|
dependencies = [
|
|
"donglora>=1.0.0,<2.0.0",
|
|
"anthropic",
|
|
"cobs",
|
|
"pyserial",
|
|
"pycryptodome",
|
|
"pynacl",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = ["ruff", "pytest", "pyright"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.pyright]
|
|
include = ["orac", "tests", "ai_bot.py"]
|
|
pythonVersion = "3.10"
|
|
typeCheckingMode = "standard"
|
|
reportMissingTypeStubs = false
|
|
|
|
[tool.uv]
|
|
package = false
|
|
|
|
[tool.uv.sources]
|
|
donglora = { path = "../client-py", editable = true }
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "W", "F", "I", "UP", "B", "C4", "ARG", "SIM", "RUF"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["donglora", "orac"]
|