quality-checks

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Quality Checks

质量检查

Overview

概述

Run the smallest set of checks for touched code. Use workspace filters and targeted test commands.
针对有变更的代码运行最精简的检查集合。使用工作区过滤器和针对性的测试命令。

JS/TS

JS/TS

bash
bun run format
bun run --filter @proompteng/bumba lint
bun run --filter @proompteng/bumba tsc
bunx biome check services/bumba
bash
bun run format
bun run --filter @proompteng/bumba lint
bun run --filter @proompteng/bumba tsc
bunx biome check services/bumba

Go

Go

bash
go test ./services/prt
go build ./services/prt
bash
go test ./services/prt
go build ./services/prt

Kotlin

Kotlin

bash
./gradlew test --tests "pkg.ClassTest"
bash
./gradlew test --tests "pkg.ClassTest"

Rails

Rails

bash
bundle exec rails test test/models/user_test.rb:42
bash
bundle exec rails test test/models/user_test.rb:42

Python

Python

bash
pytest alchimie_tests/test_file.py -k "pattern"
bash
pytest alchimie_tests/test_file.py -k "pattern"

Resources

资源

  • Reference:
    references/quality-matrix.md
  • Helper script:
    scripts/run-quality.sh
  • Checklist:
    assets/quality-checklist.md
  • 参考文档:
    references/quality-matrix.md
  • 辅助脚本:
    scripts/run-quality.sh
  • 检查清单:
    assets/quality-checklist.md