Skip to content

Commit d26d5f8

Browse files
committed
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.
1 parent 86f7837 commit d26d5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ repos:
1818
rev: '8cad7a423b459871e9ed6094252b15c9ddb8a7dd' # frozen: 2.0.0
1919
hooks:
2020
- id: poetry-check
21-
- id: poetry-lock
21+
args: ["--lock"]

0 commit comments

Comments
 (0)