Skip to content

Commit 4788881

Browse files
committed
update pre-commit
1 parent 6850dcb commit 4788881

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v6.0.0
4+
hooks:
5+
- id: end-of-file-fixer
6+
- id: mixed-line-ending
7+
args: [ "--fix=lf" ]
28
- repo: https://github.com/astral-sh/ruff-pre-commit
39
# Ruff version.
4-
rev: v0.11.4
10+
rev: v0.14.0
511
hooks:
6-
- id: ruff # just check the code, and print the errors
7-
- id: ruff # actually fix the fixable errors, but print nothing
8-
args: ["--fix", "--silent"]
12+
- id: ruff-check # just check the code, and print the errors
13+
- id: ruff-check # actually fix the fixable errors, but print nothing
14+
args: [ "--fix", "--silent" ]
915
# Run the formatter.
1016
- id: ruff-format

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ WORKDIR /app
1414
RUN --mount=type=cache,target=/root/.cache/uv \
1515
uv sync --locked --compile-bytecode
1616

17-
ENTRYPOINT ["uv", "run", "-m", "src.main"]
17+
ENTRYPOINT ["uv", "run", "-m", "src.main"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Pour lancer le bot :
3636

3737
```shell
3838
uv run -m src.main
39-
```
39+
```

0 commit comments

Comments
 (0)