Skip to content

Commit

Permalink
Do not run poetry lock in pre-commit
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
youtux committed Jan 8, 2025
1 parent 86f7837 commit d26d5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ repos:
rev: '8cad7a423b459871e9ed6094252b15c9ddb8a7dd' # frozen: 2.0.0
hooks:
- id: poetry-check
- id: poetry-lock
args: ["--lock"]

0 comments on commit d26d5f8

Please sign in to comment.