mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-05 06:13:55 +01:00
fix dependencies
This commit is contained in:
parent
d12ca6ee10
commit
62b35991f1
4 changed files with 8 additions and 4 deletions
|
@ -67,7 +67,7 @@ repos:
|
|||
hooks:
|
||||
- id: pip-compile
|
||||
name: pip-compile requirements.txt
|
||||
args: [-q, --allow-unsafe, requirements.in]
|
||||
args: [-q, --allow-unsafe, --no-strip-extras, 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, requirements-dev.in]
|
||||
args: [-q, --allow-unsafe, --no-strip-extras, requirements-dev.in]
|
||||
files: ^requirements-dev\.(in|txt)$
|
||||
|
|
|
@ -4,6 +4,8 @@ pytest>=6.0
|
|||
pytest-cov>=3.0.0
|
||||
pytest-django>=4.1.0
|
||||
pytest-selenium>=4.0.0
|
||||
# pytest-selenium 4.0.1 has an implicit dependency on `py`
|
||||
py>=1.11.0
|
||||
pre-commit>=2.1
|
||||
model-bakery>=1.3.1
|
||||
bpython>=0.22.1
|
||||
|
|
|
@ -114,6 +114,8 @@ pluggy==1.3.0
|
|||
# via pytest
|
||||
pre-commit==3.4.0
|
||||
# via -r requirements-dev.in
|
||||
py==1.11.0
|
||||
# via -r requirements-dev.in
|
||||
pygments==2.16.1
|
||||
# via bpython
|
||||
pyproject-hooks==1.0.0
|
||||
|
|
4
tasks.py
4
tasks.py
|
@ -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} requirements.in",
|
||||
f"pip-compile {common_args} --no-strip-extras 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} requirements-dev.in",
|
||||
f"pip-compile {common_args} --no-strip-extras requirements-dev.in",
|
||||
pty=True,
|
||||
echo=True,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue