mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-05 06:13:55 +01:00
parent
92404832e5
commit
a97acc3933
4 changed files with 8 additions and 9 deletions
|
@ -77,13 +77,13 @@ repos:
|
|||
hooks:
|
||||
- id: pip-compile
|
||||
name: pip-compile requirements.txt
|
||||
args: [--allow-unsafe, --resolver=backtracking, --generate-hashes, requirements.in]
|
||||
args: [-q, --allow-unsafe, --resolver=backtracking, --generate-hashes, requirements.in]
|
||||
files: ^requirements\.(in|txt)$
|
||||
- id: pip-compile
|
||||
name: pip-compile constraints.txt
|
||||
args: [--allow-unsafe, --resolver=backtracking, --strip-extras, --output-file=constraints.txt, requirements.in]
|
||||
args: [-q, --allow-unsafe, --resolver=backtracking, --strip-extras, --output-file=constraints.txt, requirements.in]
|
||||
files: ^requirements\.in|constraints\.txt$
|
||||
- id: pip-compile
|
||||
name: pip-compile requirements-dev.in
|
||||
args: [--allow-unsafe, --resolver=backtracking, --generate-hashes, requirements-dev.in]
|
||||
args: [-q, --allow-unsafe, --resolver=backtracking, --generate-hashes, requirements-dev.in]
|
||||
files: ^requirements-dev\.(in|txt)$
|
||||
|
|
|
@ -12,4 +12,3 @@ bpython>=0.22.1
|
|||
invoke>=1.7.3
|
||||
hypothesis>=6.56.4
|
||||
django-browser-reload>=1.6.0
|
||||
selenium>=4.5.0
|
||||
|
|
|
@ -242,9 +242,9 @@ h11==0.14.0 \
|
|||
# via
|
||||
# -c constraints.txt
|
||||
# wsproto
|
||||
hypothesis==6.60.0 \
|
||||
--hash=sha256:39c06cd49f491204380d7c7aa45389d3fb84ee80ea1e3f10afc744044aceb751 \
|
||||
--hash=sha256:3e8a1e061a6bfa3d8c282dafec100f2c8c527ea50b6560e9a33adf0e2e5fef8f
|
||||
hypothesis==6.61.0 \
|
||||
--hash=sha256:7bb22d22e35db99d5724bbf5bdc686b46add94a0f228bf1be249c47ec46b9c7f \
|
||||
--hash=sha256:fbf7da30aea839d88898f74bcc027f0f997060498a8a7605880688c8a2166215
|
||||
# via -r requirements-dev.in
|
||||
identify==2.5.9 \
|
||||
--hash=sha256:906036344ca769539610436e40a684e170c3648b552194980bb7b617a8daeb9f \
|
||||
|
@ -415,7 +415,7 @@ requests==2.28.1 \
|
|||
selenium==4.7.2 \
|
||||
--hash=sha256:06a1c7d9f313130b21c3218ddd8852070d0e7419afdd31f96160cd576555a5ce
|
||||
# via
|
||||
# -r requirements-dev.in
|
||||
# -c constraints.txt
|
||||
# pytest-selenium
|
||||
six==1.16.0 \
|
||||
--hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \
|
||||
|
|
2
tasks.py
2
tasks.py
|
@ -13,7 +13,7 @@ TEST_ENV = {"ENV_FILE": BASE_DIR / "envs" / "test-envs.env"}
|
|||
|
||||
@task
|
||||
def update_dependencies(ctx):
|
||||
common_args = "--allow-unsafe --resolver=backtracking --upgrade"
|
||||
common_args = "-q --allow-unsafe --resolver=backtracking --upgrade"
|
||||
with ctx.cd(BASE_DIR):
|
||||
ctx.run(
|
||||
f"pip-compile {common_args} --generate-hashes requirements.in",
|
||||
|
|
Loading…
Reference in a new issue