Remove hashes from dependencies

This commit is contained in:
Gabriel Augendre 2023-03-14 10:58:41 +01:00
parent 4f40f25631
commit 4996112310
2 changed files with 4 additions and 4 deletions

View file

@ -67,7 +67,7 @@ repos:
hooks:
- id: pip-compile
name: pip-compile requirements.txt
args: [-q, --allow-unsafe, --resolver=backtracking, --generate-hashes, requirements.in]
args: [-q, --allow-unsafe, --resolver=backtracking, requirements.in]
files: ^requirements\.(in|txt)$
- id: pip-compile
name: pip-compile constraints.txt
@ -75,5 +75,5 @@ repos:
files: ^requirements\.in|constraints\.txt$
- id: pip-compile
name: pip-compile requirements-dev.txt
args: [-q, --allow-unsafe, --resolver=backtracking, --generate-hashes, requirements-dev.in]
args: [-q, --allow-unsafe, --resolver=backtracking, requirements-dev.in]
files: ^requirements-dev\.(in|txt)$

View file

@ -21,7 +21,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
common_args += " --upgrade"
with ctx.cd(BASE_DIR):
ctx.run(
f"pip-compile {common_args} --generate-hashes requirements.in",
f"pip-compile {common_args} requirements.in",
pty=True,
echo=True,
)
@ -31,7 +31,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
echo=True,
)
ctx.run(
f"pip-compile {common_args} --generate-hashes requirements-dev.in",
f"pip-compile {common_args} requirements-dev.in",
pty=True,
echo=True,
)