Repository navigation
Conversation
| with: | ||
| version: "0.12.3" | ||
| - run: uvx ruff format --diff . | ||
| - run: uvx ruff@0.16.2 format --diff . |
There was a problem hiding this comment.
I think it probably makes sense to track this in the dev group and do uv run --dev instead.
| SHELLCHECK_ARCHIVE="shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | ||
| curl -fsSL --output "$RUNNER_TEMP/$SHELLCHECK_ARCHIVE" "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/${SHELLCHECK_ARCHIVE}" | ||
| printf '%s %s\n' 8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198 "$RUNNER_TEMP/$SHELLCHECK_ARCHIVE" | sha256sum --check | ||
| tar -xJf "$RUNNER_TEMP/$SHELLCHECK_ARCHIVE" |
There was a problem hiding this comment.
I actually don't think we need this at all, since shellcheck should be one of the default pieces of runner-installed software:
| try: | ||
| subprocess.run( | ||
| ["uvx", "ruff", "format", file_path], | ||
| ["uvx", "ruff@0.16.2", "format", file_path], |
There was a problem hiding this comment.
Same thing, I suspect we want uv run --dev here.
38baddf to
911937f
Compare
|
|
||
| ```console | ||
| $ uvx marimo edit --sandbox my_notebook.py | ||
| $ uvx marimo@0.23.16 edit --sandbox my_notebook.py |
There was a problem hiding this comment.
Why are we changing documentation examples?
There was a problem hiding this comment.
I think they're valuable to change due to e.g. agent ingestion.
(Not this one specifically, but I've seen agents run things from our docs to confirm that they still work.)
There was a problem hiding this comment.
I disagree that we should do this. Let's talk about other mitigations for agents testing commands in the documentation.
Generally, can we please use separate pull requests for user-facing changes (i.e., to the documentation) from changes to internal development?
911937f to
2e9fd8f
Compare
2e9fd8f to
32f91de
Compare
32f91de to
d237455
Compare
d237455 to
4c26ad7
Compare
4c26ad7 to
572bdf7
Compare
572bdf7 to
4f718b0
Compare
4f718b0 to
8ad596b
Compare
8ad596b to
9e726ad
Compare
9e726ad to
a03518b
Compare
a03518b to
2aa36f7
Compare
The contributor hook configuration maintains another set of tool installations, including a floating `prettier@3` dependency, while CI already invokes each check directly. Remove `.pre-commit-config.yaml` and its Renovate configuration, and document the direct schema-validation and generated-file commands alongside the existing formatting and linting commands. This changes only uv's contributor setup; the `uv-pre-commit` integration and its user documentation remain supported. Related: #21193 covers the remaining direct `prettier` invocations. Supersedes #21194. #21154 independently pins one-shot tools; only its `prettier` hook pin overlaps with this removal. astral-sh/docstring-adder#236 and astral-sh/ecosystem-analyzer#162 remove only their unnecessary `prettier` hooks. --------- Co-authored-by: zaniebot <[email protected]>
|
Superseding: #21204 |
Summary
This ensures that
uvx pkgand similar are pinned to versions.I'm leaving this one as a draft because I need to do a closer manual scan of it.
Test Plan
NFC.
Stack created with GitHub Stacks CLI • Give Feedback 💬