Skip to content

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

Add poetry lock check to pre commit (#17369)

Krzysztof Żurawd5c9bf1b176b
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index db7f528cf1..22c3f3baad 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -55,6 +55,12 @@ repos:
# Replace --quiet with --verbose to debug issues.
- --quiet
+ - repo: https://github.com/python-poetry/poetry
+ rev: 2.0.1
+ hooks:
+ - id: poetry-lock
+ files: "^pyproject.toml$"
+
- repo: local
hooks:
- id: migrations-check