mirror of
https://github.com/ankitects/anki.git
synced 2026-06-10 07:22:47 -04:00
## Linked issue Closes #4859 ## Summary Add tests for the build_installer.py script with 100% coverage. ## How to test Run `just test-py --coverage --html` and browse coverage data.
56 lines
1.2 KiB
TOML
56 lines
1.2 KiB
TOML
[project]
|
|
name = "anki-dev"
|
|
version = "0.0.0"
|
|
description = "Local-only environment"
|
|
requires-python = ">=3.12"
|
|
classifiers = ["Private :: Do Not Upload"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pre-commit",
|
|
"mypy",
|
|
"mypy-protobuf",
|
|
"ruff",
|
|
"pytest",
|
|
"pytest-mock",
|
|
"PyChromeDevTools",
|
|
"wheel",
|
|
"hatchling", # for type checking hatch_build.py files
|
|
"mock",
|
|
"types-protobuf",
|
|
"types-requests",
|
|
"types-orjson",
|
|
"types-decorator",
|
|
"types-flask",
|
|
"types-flask-cors",
|
|
"types-markdown",
|
|
"types-waitress",
|
|
"types-pywin32",
|
|
"briefcase>=0.4.2",
|
|
"coverage>=7.13.5",
|
|
]
|
|
docs = [
|
|
"sphinx",
|
|
"myst-parser",
|
|
"sphinx-book-theme",
|
|
"sphinx-autoapi",
|
|
"sphinx-autobuild>=2024.10.3",
|
|
"click-extra[sphinx]", # for GitHub alerts
|
|
"sphinxcontrib-mermaid>=2.0.2",
|
|
]
|
|
|
|
# Local resolution guard; keep in sync with Dependabot cooldown.
|
|
[tool.uv]
|
|
exclude-newer = "7 days"
|
|
exclude-newer-package = { anki-mac-helper = false, anki-audio = false, briefcase = false }
|
|
required-version = ">=0.9.25"
|
|
|
|
[tool.uv.workspace]
|
|
members = ["pylib", "qt", "qt/installer/briefcase_plugins"]
|
|
|
|
[[tool.uv.index]]
|
|
name = "testpypi"
|
|
url = "https://test.pypi.org/simple/"
|
|
publish-url = "https://test.pypi.org/legacy/"
|
|
explicit = true
|