feat: Add Q0: Pre-commit hooks setup.

This should automatically check for problems on build.
This commit is contained in:
2026-02-10 00:01:51 +00:00
committed by Forgejo
parent e5f27249b1
commit 7ef5ebb695
62 changed files with 2254 additions and 886 deletions
+48
View File
@@ -0,0 +1,48 @@
## Description
<!-- Brief description of what this PR does -->
## Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Refactoring (no functional changes)
- [ ] Documentation update
- [ ] Test improvements
- [ ] CI/CD changes
## Quality Checklist
- [ ] Code follows the project's coding standards (see CONTRIBUTING.md)
- [ ] All public/protected methods have argument validation
- [ ] Static typing is complete (no `Any` unless justified)
- [ ] `nox -s typecheck` passes with no errors
- [ ] `nox -s lint` passes with no errors
- [ ] Unit tests written/updated (Behave scenarios in `features/`)
- [ ] Integration tests written/updated (Robot suites in `robot/`) if applicable
- [ ] Coverage remains above 85% (`nox -s coverage_report`)
- [ ] No security issues introduced (`nox -s security_scan`)
- [ ] No dead code introduced (`nox -s dead_code`)
- [ ] Documentation updated if behavior changed
## Testing
<!-- Describe how you tested your changes -->
### Test Commands Run
```bash
nox -s unit_tests # Behave tests
nox -s typecheck # Type checking
nox -s lint # Linting
nox -s coverage_report # Coverage
```
## Related Issues
<!-- Link to related issues: Closes #123, Fixes #456 -->
## Implementation Notes
<!-- Any architectural decisions, trade-offs, or important notes for reviewers -->