checking-changes
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseChecking Changes
检查代码变更
Run at the end of a work session or after completing a set of changes — not after every small edit.
bash
make checkThis runs formatting, linting, type checking, and unit tests on all uncommitted files (staged, unstaged, and untracked).
在工作会话结束时运行,或在完成一组代码变更后运行——不要在每次小修改后都运行。
bash
make check该命令会对所有未提交的文件(已暂存、未暂存和未跟踪的文件)运行格式化、代码检查、类型检查和单元测试。
Workflow
工作流程
- Run
make check - If issues are found:
- Fix the reported errors
- Re-run
make check - Repeat until all checks pass
- Only consider work complete when succeeds
make check
- 运行
make check - 如果发现问题:
- 修复报告的错误
- 重新运行
make check - 重复操作直到所有检查通过
- 只有当执行成功时,才认为工作完成
make check
Notes
注意事项
- E2E tests are not included; use separately if needed
make run-e2e-test e2e_playwright/<test>_test.py
- 不包含E2E测试;如果需要,请单独使用命令
make run-e2e-test e2e_playwright/<test>_test.py