Skip to content

Commit

Permalink
Mirror: 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Nov 8, 2024
1 parent fc8318c commit bb8823c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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.4.30
rev: 0.5.0
hooks:
# Run the pip compile
- id: pip-compile
Expand All @@ -31,7 +31,7 @@ To compile alternative files, modify the `args` and `files`:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.4.30
rev: 0.5.0
hooks:
# Run the pip compile
- id: pip-compile
Expand All @@ -44,7 +44,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.4.30
rev: 0.5.0
hooks:
# Run the pip compile
- id: pip-compile
Expand All @@ -61,7 +61,7 @@ To ensure the lockfile is up-to-date:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.4.30
rev: 0.5.0
hooks:
# Update the uv lockfile
- id: uv-lock
Expand All @@ -72,7 +72,7 @@ To autoexport `uv.lock` to `requirements.txt`:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.4.30
rev: 0.5.0
hooks:
- id: uv-export
```
Expand All @@ -82,7 +82,7 @@ To export to an alternative file, modify the `args`:
```yaml
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.4.30
rev: 0.5.0
hooks:
- id: uv-export
args: ["--frozen", "--output-file=requirements-custom.txt"]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "uv-pre-commit"
version = "0.0.0"
dependencies = [
"uv==0.4.30",
"uv==0.5.0",
]

[project.optional-dependencies]
Expand Down

0 comments on commit bb8823c

Please sign in to comment.