From 1522f4abc6206000a2666b3c3df53842b38fa4d8 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 17 Jul 2023 22:22:36 +0200 Subject: [PATCH] remove unused parameter --- .pre-commit-config.yaml | 8 ++++---- tasks.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 795a07a..4f2e13b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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)$ diff --git a/tasks.py b/tasks.py index 87987bd..101bd51 100644 --- a/tasks.py +++ b/tasks.py @@ -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):