remove unused parameter

This commit is contained in:
Gabriel Augendre 2023-07-17 22:16:16 +02:00 committed by crocmagnon-pr[bot]
parent 545170ab14
commit 9f696928f2
2 changed files with 5 additions and 5 deletions

View file

@ -63,17 +63,17 @@ repos:
hooks: hooks:
- id: pyproject-fmt - id: pyproject-fmt
- repo: https://github.com/jazzband/pip-tools - repo: https://github.com/jazzband/pip-tools
rev: 6.14.0 rev: 7.0.0
hooks: hooks:
- id: pip-compile - id: pip-compile
name: pip-compile requirements.txt name: pip-compile requirements.txt
args: [-q, --allow-unsafe, --resolver=backtracking, requirements.in] args: [-q, --allow-unsafe, 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
args: [-q, --allow-unsafe, --resolver=backtracking, --strip-extras, --output-file=constraints.txt, requirements.in] args: [-q, --allow-unsafe, --strip-extras, --output-file=constraints.txt, requirements.in]
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, requirements-dev.in] args: [-q, --allow-unsafe, requirements-dev.in]
files: ^requirements-dev\.(in|txt)$ files: ^requirements-dev\.(in|txt)$

View file

@ -16,7 +16,7 @@ def update_dependencies(ctx: Context, *, sync: bool = True):
@task @task
def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = False): def compile_dependencies(ctx: Context, *, update: bool = False, sync: bool = False):
common_args = "-q --allow-unsafe --resolver=backtracking" common_args = "-q --allow-unsafe"
if update: if update:
common_args += " --upgrade" common_args += " --upgrade"
with ctx.cd(BASE_DIR): with ctx.cd(BASE_DIR):