ci: don't format uv.lock file#2513
Merged
egparedes merged 1 commit intoGridTools:mainfrom Mar 6, 2026
Merged
Conversation
The `uv.lock` file is auto-generated. It should not need formatting. Recent changes in `identify`, a dependency of `pretty-format-toml` added a rule to identify `uv.lock` as a `toml` file. Due to this change, the file got automatically picked up by the pre-commit worfklow for linting as a `toml`-file (which failes because it's not formatted as expected). We only see this change on CI because for the `pre-commit` workflow, we don't pin exact versions of dependencies and thus always fetch the latest available.
2 tasks
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.
Description
The
uv.lockfile is auto-generated. It should not need formatting. Recent changes inidentify, a dependency ofpretty-format-tomladded a rule to identifyuv.lockas atomlfile. Due to this change, the file got automatically picked up by the pre-commit worfklow for linting as atoml-file (which failes because it's not formatted as expected).We only see this change on CI because for the
pre-commitworkflow, we don't pin exact versions of dependencies and thus always fetch the latest available. And with the automatic version update from 2.6.16 to 2.6.17 ofidentify, we get different results than locally (because there dependencies are pinned)./cc @tehrengruber and @twicki since you both just updated the
uv.lockfile in your PRs.Requirements
N/A
N/A