Files
auto-huami-token/project.toml
T
2026-03-05 12:01:08 +01:00

58 lines
1.3 KiB
TOML

[project]
name = "auto_huami_token"
version = "0.0.1"
description = "A wrapper to automate calling huami-token on a schedule."
readme = "README.md"
requires-python = ">=3.14"
authors = [
{ name = "Daniel Demus", email = "daniel-git@demus.dk" },
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"argcomplete",
"requests",
"psutil",
"systemd-python",
"pyxdg >= 0.28",
"huami_token >= 0.8.0"
]
[project.scripts]
auto-huami-token = "auto_huami_token.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=8,<9",
"types-requests>=2.31.0.20231231",
"ruff>=0.5,<1",
"mypy>=1.10,<2",
]
[project.urls]
"Homepage" = "https://git.demus.dk/demus/auto-huami-token"
"Bug Tracker" = "https://git.demus.dk/demus/auto-huami-token/issues"
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["auto_huami_token"]
[tool.pytest.ini_options]
markers = ["integration: real API integration tests (require --email and --password)"]
[tool.ruff]
line-length = 100
target-version = "py314"
[tool.mypy]
python_version = "3.14"
warn_unused_ignores = true
warn_redundant_casts = true