diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c4dddf1..aca501f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10"] steps: - uses: actions/checkout@v3 @@ -25,7 +25,6 @@ jobs: conda update -n base -c defaults conda conda env update --file environment.yml --name base conda install --file requirements.dev.txt - echo $(python --version) - name: Install latz run: | pip install -e . diff --git a/latz/__version__.py b/latz/__version__.py index 1159b99..c973cd7 100644 --- a/latz/__version__.py +++ b/latz/__version__.py @@ -1,3 +1,3 @@ __title__ = "latz" -__description__ = "Tool for find images. Maybe with location..." +__description__ = "Tool for finding images. Maybe with location 🤷‍️..." __version__ = "0.1.0" diff --git a/tests/test_config.py b/tests/test_config.py index 12a4c85..059d564 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -15,15 +15,15 @@ def runner_with_bad_backend(tmp_path, mocker): """Configures a test CLI runner using a bad backend""" runner = CliRunner() - - mocker.patch("latz.cli.CONFIG_FILES", (tmp_path / CONFIG_FILE_NAME,)) + config_file = tmp_path / CONFIG_FILE_NAME + mocker.patch("latz.cli.CONFIG_FILES", (config_file,)) config = { "backend": "does_not_exist", } with runner.isolated_filesystem(tmp_path): - with open(tmp_path / CONFIG_FILE_NAME, "w") as fp: + with open(config_file, "w") as fp: json.dump(config, fp) yield runner