Standardize justfile targets - #474
Merged
Merged
Conversation
Every recipe syncs the exact dependency groups it needs with `poetry sync`, so moving between targets can't leave a stale environment behind. Rename the all-hooks pre-commit recipe to `lint` and add `lint-all` for manual-stage hooks.
blink1073
marked this pull request as ready for review
August 11, 2026 00:39
blink1073
enabled auto-merge (squash)
August 11, 2026 00:39
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #474 +/- ##
==========================================
+ Coverage 93.54% 93.64% +0.10%
==========================================
Files 51 51
Lines 2974 2960 -14
Branches 416 410 -6
==========================================
- Hits 2782 2772 -10
+ Misses 131 128 -3
+ Partials 61 60 -1 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
References
None
Description
The five developer commands now mean the same thing in every Calysto repo:
install,test,cover,typing, andlint.Two things were confusing before.
lintran a hand-picked subset of pre-commit hooks while a separatepre-commitrecipe ran all of them, so neither name described what it did. The lint recipes also did not control their own environment. Becausejust testsyncs to the test group and prunes everything else, running it beforejust lintleft no pre-commit in the environment. Each recipe now syncs the groups it needs, so any order of commands works.Changes
pre-committolintlint-allfor hooks that only run at the manual stage, such asmarkdown-link-checkBackwards-incompatible changes
just pre-commitno longer exists. Usejust lint, orjust lint-allto include the manual-stage hooks.Testing
just lintpassesjust typingpasses with no issues in 113 source filesjust testpasses, 489 tests with 68 skippedAI usage