Do not run `poetry lock` in pre-commit

It will connect to PyPI, and it seems that pre-commit.ci does not allow that.
In any case, we should only check if `poetry.lock` is in sync using `poetry check --lock`. That's enough.
This commit is contained in:
Alessio Bogon 2025-01-08 21:09:37 +01:00
parent 86f7837fe2
commit d26d5f8411
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -18,4 +18,4 @@ repos:
rev: '8cad7a423b459871e9ed6094252b15c9ddb8a7dd' # frozen: 2.0.0 rev: '8cad7a423b459871e9ed6094252b15c9ddb8a7dd' # frozen: 2.0.0
hooks: hooks:
- id: poetry-check - id: poetry-check
- id: poetry-lock args: ["--lock"]