Skip to content

Commit 42f0d91

Browse files
committed
update args in pre-commit
1 parent 85e9f39 commit 42f0d91

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.vscode
22
.mypy_cache
33
.pytest_cache
4-
.ruff_cache
4+
.ruff_cache

.pre-commit-config.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,21 @@ repos:
1717
hooks:
1818
- id: black
1919
name: black
20-
args:
21-
- "--config"
22-
- "./backend/pyproject.toml"
20+
args: [--config=./backend/pyproject.toml]
2321

2422
# ruff - linting
2523
- repo: https://github.com/astral-sh/ruff-pre-commit
2624
rev: "v0.11.10"
2725
hooks:
2826
- id: ruff
2927
name: ruff
28+
args: [--config=./backend/pyproject.toml]
3029

3130
# mypy - lint-like type checking
3231
- repo: https://github.com/pre-commit/mirrors-mypy
3332
rev: v1.15.0
3433
hooks:
3534
- id: mypy
3635
name: mypy
37-
additional_dependencies: [types-requests==2.31.0.20240218]
36+
additional_dependencies: [types-requests==2.32.0.20250515]
3837
args: [--config-file=./backend/pyproject.toml, --ignore-missing-imports]

0 commit comments

Comments
 (0)