From 9f696928f27d621b722cc8e8b67bb23103033d07 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 17 Jul 2023 22:16:16 +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 bf0c9a0..8710bac 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 6d443fb..8ed1734 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):