Fix the ty diagnostics and turn the ty hook back on #108

Open
opened 2026-11-21 22:31:22 +00:00 by jalenluorion · 0 comments
Member

The kennel flake module runs ty on every commit. It reports 144 diagnostics on api/, mostly Optional handling and argument types, so #104 turns the hook off (ty.enable = lib.mkForce false in flake.nix). main had it off for the same reason.Where to start- nix develop, then ty check --project api lists them.- Split by package (app/api, app/models, scraper, course_agent) so each PR stays reviewable.Done when- [ ] ty check --project api reports nothing- [ ] the ty.enable override is removed from flake.nix

The kennel flake module runs [ty](https://docs.astral.sh/ty/) on every commit. It reports 144 diagnostics on `api/`, mostly `Optional` handling and argument types, so #104 turns the hook off (`ty.enable = lib.mkForce false` in `flake.nix`). main had it off for the same reason.**Where to start**- `nix develop`, then `ty check --project api` lists them.- Split by package (`app/api`, `app/models`, `scraper`, `course_agent`) so each PR stays reviewable.**Done when**- [ ] `ty check --project api` reports nothing- [ ] the `ty.enable` override is removed from `flake.nix`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/cal#108
No description provided.