mirror of
https://github.com/alexgetmancom/miband-bot.git
synced 2026-07-20 12:40:13 +03:00
feat: add miband bot application
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
set windows-shell := ["powershell", "-NoProfile", "-Command"]
|
||||
|
||||
# 默认任务列表
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# 运行测试
|
||||
test:
|
||||
uv run pytest
|
||||
|
||||
# 版本发布(更新版本号、更新 lock 文件)
|
||||
bump:
|
||||
uv run cz bump
|
||||
uv lock
|
||||
|
||||
# 生成 changelog
|
||||
changelog:
|
||||
uv run git-cliff --latest
|
||||
|
||||
# 安装 pre-commit hooks
|
||||
hooks:
|
||||
uv run prek install
|
||||
|
||||
# 代码检查
|
||||
lint:
|
||||
uv run ruff check . --fix
|
||||
|
||||
# 代码格式化
|
||||
format:
|
||||
uv run ruff format .
|
||||
|
||||
# 类型检查
|
||||
check:
|
||||
uv run basedpyright
|
||||
|
||||
# 更新 pre-commit hooks
|
||||
update:
|
||||
uv run prek auto-update
|
||||
Reference in New Issue
Block a user