Skip to content

Commit 984a5e9

Browse files
committed
chore(prek): add uv-prek-commit hooks
1 parent 9b2c223 commit 984a5e9

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,9 @@ repos:
1414
stages: [pre-commit]
1515
- id: ruff-format
1616
stages: [pre-commit]
17+
18+
- repo: https://github.com/astral-sh/uv-pre-commit
19+
rev: 0.9.9
20+
hooks:
21+
- id: uv-lock
22+
- id: uv-sync

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test = [
3232
"nonebot2[fastapi]>=2.4.2,<3.0.0",
3333
"nonebug>=0.3.7,<1.0.0",
3434
"poethepoet>=0.36.0",
35-
"pytest-asyncio>=1.2.0,<1.3.0",
35+
"pytest-asyncio>=1.3.0,<1.4.0",
3636
"pytest-cov>=7.0.0",
3737
"pytest-xdist>=3.8.0,<4.0.0",
3838
]

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)