mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 16:18:03 +01:00
remove unused parameter
This commit is contained in:
parent
0280ff9378
commit
1522f4abc6
2 changed files with 5 additions and 5 deletions
|
@ -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)$
|
||||||
|
|
2
tasks.py
2
tasks.py
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue