mirror of
https://github.com/Crocmagnon/cookiecutter-django.git
synced 2024-12-23 22:31:59 +01:00
Remove hashes from dependencies
This commit is contained in:
parent
4f40f25631
commit
4996112310
2 changed files with 4 additions and 4 deletions
|
@ -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)$
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue