Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Improve pre commit config (#17367)

Krzysztof Żurawa3f2098068f2
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 99d5a4c620..db7f528cf1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,12 +18,14 @@ repos:
rev: v0.9.2
hooks:
- id: ruff
+ args: [ --fix ]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
hooks:
- id: mypy
+ args: [--cache-dir=/dev/null] # Disable cache to avoid issues with pre-commit
language: system
exclude: (tests|vendored)/