Skip to content

Commit

Permalink
various updates, ready for version v0.1.0!
Browse files Browse the repository at this point in the history
  • Loading branch information
travishathaway committed Dec 29, 2022
1 parent 455b7ac commit e6f6b9c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
Expand Down
2 changes: 1 addition & 1 deletion latz/__version__.py
Original file line number Diff line number Diff line change
@@ -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"
6 changes: 3 additions & 3 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6f6b9c

Please sign in to comment.