mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-12-04 13:53:36 +01:00
fix constraints file path
This commit is contained in:
parent
d1b9821bbf
commit
d4b2d26059
4 changed files with 3 additions and 4 deletions
|
@ -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, --no-strip-extras, requirements-dev.in]
|
args: [-q, --allow-unsafe, --no-strip-extras, --constraint=constraints.txt, requirements-dev.in]
|
||||||
files: ^requirements-dev\.(in|txt)$
|
files: ^requirements-dev\.(in|txt)$
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
-c constraints.txt
|
|
||||||
pre-commit>=2.7
|
pre-commit>=2.7
|
||||||
pytest>=6.0
|
pytest>=6.0
|
||||||
pytest-cov>=3.0.0
|
pytest-cov>=3.0.0
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# This file is autogenerated by pip-compile with Python 3.12
|
# This file is autogenerated by pip-compile with Python 3.12
|
||||||
# by the following command:
|
# by the following command:
|
||||||
#
|
#
|
||||||
# pip-compile --allow-unsafe requirements-dev.in
|
# pip-compile --allow-unsafe --constraint=constraints.txt requirements-dev.in
|
||||||
#
|
#
|
||||||
asgiref==3.8.1
|
asgiref==3.8.1
|
||||||
# via
|
# via
|
||||||
|
|
2
tasks.py
2
tasks.py
|
@ -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} --no-strip-extras requirements-dev.in",
|
f"pip-compile {common_args} --no-strip-extras -c constraints.txt requirements-dev.in",
|
||||||
pty=True,
|
pty=True,
|
||||||
echo=True,
|
echo=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue