Skip to content

Commit 40b9eb1

Browse files
committed
add pre-commit
1 parent 1e43821 commit 40b9eb1

File tree

3 files changed

+125
-2
lines changed

3 files changed

+125
-2
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
- repo: https://github.com/astral-sh/uv-pre-commit
22
rev: 0.5.18
33
hooks:
4-
- id: uv-lock
54
- id: ruff
65
args: [ --fix ]
7-
- id: ruff-format
6+
- id: ruff-format
7+
- id: uv-lock
8+
- id: uv-export

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ requires-python = ">=3.11"
77
dependencies = [
88
"dateparser>=1.2.0",
99
"logging>=0.4.9.6",
10+
"pre-commit>=4.0.1",
1011
"pyclamd>=0.4.0",
1112
"pydantic>=2.10.5",
1213
"pytest>=8.3.4",

uv.lock

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

0 commit comments

Comments
 (0)