From e1c7b3e44c2312ffde5b85fcbfeb26a51a8ab988 Mon Sep 17 00:00:00 2001 From: Jari-Pekka Voutilainen Date: Mon, 27 Mar 2023 11:05:31 +0300 Subject: [PATCH 1/2] Add default queue to command options --- ckanext/archiver/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/archiver/cli.py b/ckanext/archiver/cli.py index 53adb4d9..a05198e3 100644 --- a/ckanext/archiver/cli.py +++ b/ckanext/archiver/cli.py @@ -12,7 +12,7 @@ def archiver(): @archiver.command() -@click.option('-q', '--queue') +@click.option('-q', '--queue', default='bulk') @click.argument('identifiers', nargs=-1) def update(identifiers, queue): utils.update(identifiers, queue) From 975628bf1c7225495df5e602ae4daba19c86a88a Mon Sep 17 00:00:00 2001 From: Jari-Pekka Voutilainen Date: Mon, 27 Mar 2023 11:06:29 +0300 Subject: [PATCH 2/2] Use python 3.10 in linting --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eccc5206..374b880f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v2 with: - python-version: '3.6' + python-version: '3.10' - name: Install requirements run: pip install flake8 pycodestyle - name: Check syntax