Add direct test execution to pre-commit hook
Open
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 17h 7m
- Merged PRs (30d)
- 358
Description
## Summary
Add direct test execution step to the pre-commit hook to catch test failures before commits.
## Current State
The pre-commit hook (`scripts/pre-commit.sh`) currently runs:
- `pants lint` on changed files
- `pants check` (type checking) on changed files
## Proposed Change
Add test execution for directly affected tests before allowing commits.
JIRA Issue: BA-3387
Contributor guide
Assessment
This issue has not been assessed yet.