mirror of
https://github.com/Crocmagnon/cookiecutter-django.git
synced 2024-11-23 07:08:04 +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:
|
hooks:
|
||||||
- id: pip-compile
|
- id: pip-compile
|
||||||
name: pip-compile requirements.txt
|
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)$
|
files: ^requirements\.(in|txt)$
|
||||||
- id: pip-compile
|
- id: pip-compile
|
||||||
name: pip-compile constraints.txt
|
name: pip-compile constraints.txt
|
||||||
|
@ -75,5 +75,5 @@ repos:
|
||||||
files: ^requirements\.in|constraints\.txt$
|
files: ^requirements\.in|constraints\.txt$
|
||||||
- id: pip-compile
|
- id: pip-compile
|
||||||
name: pip-compile requirements-dev.txt
|
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)$
|
files: ^requirements-dev\.(in|txt)$
|
||||||
|
|
|
@ -21,7 +21,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
|
||||||
common_args += " --upgrade"
|
common_args += " --upgrade"
|
||||||
with ctx.cd(BASE_DIR):
|
with ctx.cd(BASE_DIR):
|
||||||
ctx.run(
|
ctx.run(
|
||||||
f"pip-compile {common_args} --generate-hashes requirements.in",
|
f"pip-compile {common_args} requirements.in",
|
||||||
pty=True,
|
pty=True,
|
||||||
echo=True,
|
echo=True,
|
||||||
)
|
)
|
||||||
|
@ -31,7 +31,7 @@ def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = Fal
|
||||||
echo=True,
|
echo=True,
|
||||||
)
|
)
|
||||||
ctx.run(
|
ctx.run(
|
||||||
f"pip-compile {common_args} --generate-hashes requirements-dev.in",
|
f"pip-compile {common_args} requirements-dev.in",
|
||||||
pty=True,
|
pty=True,
|
||||||
echo=True,
|
echo=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue