Files
Your Name 1202dffa32
Windows Package CI / package-fresh-install (push) Has been cancelled
chore(release): bump version to V3.3.11
2026-06-29 02:19:44 +08:00

37 lines
1.3 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[project]
# 项目元数据。版本号的"单一事实来源"是 douyin/core/version.py: APP_VERSION,
# 这里的 version 由 tools/dev/bump_version.py 与 version.py 同步维护。
# 注意:为兼容 PEP 440,这里去掉 "V" 前缀,仅保留数字部分(如 V3.3.3 → 3.3.3)。
name = "douyin_guaji"
version = "3.3.11"
description = "基于 ADB + OCR + 像素检测 + 模板匹配的抖音直播间福袋自动挂机工具"
readme = "README.md"
requires-python = ">=3.10"
authors = [{ name = "douyin_guaji" }]
[tool.pylint.messages_control]
disable = [
"broad-except",
"protected-access",
"unused-import",
"unused-variable",
"reimported",
"redefined-outer-name",
"pointless-string-statement",
"unreachable"
]
[tool.pytest.ini_options]
# pytest 配置:默认从 tests/ 目录收集,仅识别 test_*.py
# 当前测试有意写得"轻":业务级冒烟 + 纯函数单元测试,不依赖 ADB / OCR / 设备
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# -ra:显示所有非 PASS 的测试结果摘要;-q:精简输出
# --strict-markers:自定义 marker 必须先注册,避免笔误静默通过
addopts = "-ra -q --strict-markers"
markers = [
"smoke: 冒烟测试,覆盖业务关键链路的最小用例",
"slow: 较慢的测试(>1s),CI 中可单独跑",
]