checking-changes
โดย streamlit
ตรวจสอบการเปลี่ยนแปลงโค้ดทั้งหมดก่อนคอมมิต โดยการรันการตรวจสอบรูปแบบโค้ด การตรวจสอบไวยากรณ์ การตรวจสอบชนิดข้อมูล และการทดสอบหน่วย ใช้หลังจากทำการเปลี่ยนแปลงแบ็กเอนด์ (Python) หรือฟรอนต์เอนด์ (TypeScript)…
npx skills add https://github.com/streamlit/streamlit --skill checking-changesChecking Changes
Run at the end of a work session or after completing a set of changes — not after every small edit.
make check
This runs formatting, linting, type checking, and unit tests on all uncommitted files (staged, unstaged, and untracked).
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
make checksucceeds
Notes
- E2E tests are not included by default; use
E2E_CHECK=true make checkto also run changed e2e tests - E2E snapshot mismatches can be ignored (they require manual updates)