Skip to content

Commit beaa1cc

Browse files
authored
add pypi simple as additional index to pre-commit configs (#116)
1 parent 5524f5c commit beaa1cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-config.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,12 @@ repos:
5757
rev: 1.3.2
5858
hooks:
5959
- id: poetry-check
60+
additional_dependencies: [--index-url=https://pypi.org/simple/]
6061
- id: poetry-lock
6162
args: [--check]
6263
files: ^pyproject.toml$
64+
additional_dependencies: [--index-url=https://pypi.org/simple/]
6365
- id: poetry-export
6466
args: [-f, requirements.txt, -o, requirements.txt, --with=dev, --with=doc, -Eall]
6567
files: ^(pyproject.toml|poetry.lock)$
68+
additional_dependencies: [--index-url=https://pypi.org/simple/]

0 commit comments

Comments
 (0)