From 4c9a315141cf0706e3fd729949daa6fcea87a888 Mon Sep 17 00:00:00 2001 From: jjmachan Date: Sat, 15 Aug 2020 06:43:30 +0000 Subject: [PATCH] added isort==5.1.4 requirements to test --- .github/workflows/test.yml | 2 +- stockroom/cli.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5108ef8..e2771ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install pytest pytest-cov mypy black isort torch + pip install pytest pytest-cov mypy black isort==5.1.4 torch pip install . - name: Test run: bash scripts/test.sh diff --git a/stockroom/cli.py b/stockroom/cli.py index 13c88b9..38b4788 100644 --- a/stockroom/cli.py +++ b/stockroom/cli.py @@ -2,6 +2,7 @@ from pathlib import Path import click +from click_didyoumean import DYMGroup # type: ignore from hangar import Repository from rich.progress import Progress from stockroom import __version__, external @@ -9,8 +10,6 @@ from stockroom.keeper import init_repo from stockroom.utils import console, new_columns_table -from click_didyoumean import DYMGroup # type: ignore - @click.group( no_args_is_help=True,