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.4
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.5
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Mar 7, 2025

  1. Mirror: 0.6.5

    zanieb committed Mar 7, 2025
    Copy the full SHA
    124858a View commit details
Showing with 9 additions and 9 deletions.
  1. +8 −8 README.md
  2. +1 −1 pyproject.toml
16 changes: 8 additions & 8 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.4
rev: 0.6.5
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.4
rev: 0.6.5
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.4
rev: 0.6.5
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.4
rev: 0.6.5
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.4
rev: 0.6.5
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.4
rev: 0.6.5
hooks:
# Run the pip compile
- id: pip-compile
@@ -100,7 +100,7 @@ default_install_hook_types:
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.4
rev: 0.6.5
hooks:
- id: uv-sync
```
@@ -113,7 +113,7 @@ To synchronize all dependencies in a workspace:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.6.4
rev: 0.6.5
hooks:
- id: uv-sync
args: ["--locked", "--all-packages"]
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.4",
"uv==0.6.5",
]

[project.optional-dependencies]