Repository navigation
Keep uvproj documentation samples in sync with the CLI - #629
Merged
patrickballard merged 1 commit intoNov 21, 2026
Merged
Conversation
Collaborator
|
Thanks @kunalkshah1, this looks good overall: the three uvproj samples are brought up to date and each is now marked with its arguments and run against the fixture in the docs tests, with a failure message that prints the block to paste. That's what #610 asked for, and it will stop the samples drifting again. CI is green on this commit. #610 is a (Review assisted by Claude.) |
patrickballard
added a commit
to kunalkshah1/wheelgap
that referenced
this pull request
Nov 21, 2026
…tinued RUN Merges main (CHANGELOG conflict only). The docs now mark the header, the dockerfile_inputs key and the annotation text as after 0.13.0, say which line a RUN that continues over several lines gets and what file holds, and sit away from the text sample that wheelgap#629 marks. New tests: a RUN continued over four lines in a Dockerfile in its own folder with --dockerfile-context (header, --json and annotation all name the line it starts on), and no dockerfile_inputs key or installed-by text without --dockerfile-inputs. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Collaborator
|
Merged, thanks @kunalkshah1! The final review ran main on the fixture with the commands the pages show, and all three sample blocks match byte for byte. The test now fails with the exact block to paste when they drift. (Reply assisted by Claude.) |
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.
Closes #610
What this changes
Refresh the uvproj text output in the front page, output reference, and recipes. Mark each sample with its CLI arguments and run it against the offline fixture in the docs tests. The failure message prints the current block to paste.
Changing a word in the front-page sample failed its snapshot. Removing the (via …) suffix from the table renderer failed all three snapshots.
AI tools used: Codex
Ruff formatting and lint, mypy, strict MkDocs build, and the full pytest suite passed locally (5,183 passed, 3 skipped).