refactor(api): use squad number for PUT and DELETE endpoints #155
python-ci.yml
on: pull_request
Annotations
1 error
|
lint
You have commit messages with errors
⧗ input: refactor(api): address review feedback on route and service layer (#521)
- Use Annotated for FastAPI Path/Body/Depends across all route handlers
- Define SQUAD_NUMBER_TITLE constant to avoid literal duplication
- Enforce path param as canonical key in update_by_squad_number_async
- Add None guard and move delete inside try/except in delete_by_squad_number_async
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
✖ body's lines must not be longer than 80 characters [body-max-line-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|