remove unused parameter

This commit is contained in:
Gabriel Augendre 2023-07-17 22:22:36 +02:00 committed by crocmagnon-pr[bot]
parent 0280ff9378
commit 1522f4abc6
2 changed files with 5 additions and 5 deletions

View file

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

View file

@ -16,7 +16,7 @@ def update_dependencies(ctx: Context, *, sync: bool = True):
@task
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:
common_args += " --upgrade"
with ctx.cd(BASE_DIR):