Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: astral-sh/uv-pre-commit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.6.9
Choose a base ref
...
head repository: astral-sh/uv-pre-commit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.6.10
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 26, 2025

  1. Mirror: 0.6.10

    zanieb committed Mar 26, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    5c6abd8 View commit details
Showing with 11 additions and 11 deletions.
  1. +10 −10 README.md
  2. +1 −1 pyproject.toml
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ To ensure the lockfile is up-to-date:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
# Update the uv lockfile
- id: uv-lock
@@ -31,7 +31,7 @@ To autoexport `uv.lock` to `requirements.txt`:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
- id: uv-export
```
@@ -41,7 +41,7 @@ To export to an alternative file, modify the `args`:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
- id: uv-export
args: ["--frozen", "--output-file=requirements-custom.txt"]
@@ -52,7 +52,7 @@ To compile your requirements via pre-commit, add the following to your `.pre-com
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
# Run the pip compile
- id: pip-compile
@@ -64,7 +64,7 @@ To compile alternative files, modify the `args` and `files`:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
# Run the pip compile
- id: pip-compile
@@ -77,7 +77,7 @@ To run the hook over multiple files at the same time:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
# Run the pip compile
- id: pip-compile
@@ -94,7 +94,7 @@ To run a hook on a project within a subdirectory (i.e., in a monorepo):
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
# Update the uv lockfile
- id: uv-lock
@@ -114,7 +114,7 @@ default_install_hook_types:
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
- id: uv-sync
```
@@ -127,7 +127,7 @@ To synchronize all dependencies in a workspace:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
- id: uv-sync
args: ["--locked", "--all-packages"]
@@ -139,7 +139,7 @@ include it as an additional sync dependency:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.9
rev: 0.6.10
hooks:
- id: uv-sync
additional_dependencies: [keyring]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
name = "uv-pre-commit"
version = "0.0.0"
dependencies = [
"uv==0.6.9",
"uv==0.6.10",
]

[project.optional-dependencies]