From 1a569b456e4b3f72bd3d1307d400bbe21af700e7 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:48:30 +0000 Subject: [PATCH] Fix: Update package installation and fix linting issues Co-Authored-By: ned.twigg@diffplug.com --- .github/workflows/python-ci.yml | 4 ++-- python/pytest-selfie/requirements.txt | 1 - python/pytest-selfie/tests/test_plugin.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 22412662..1817658f 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -92,7 +92,7 @@ jobs: else . ../../.venv/bin/activate fi - uv pip install -e . + uv pip install -e . -e ../selfie-lib uv pip install -r requirements.txt -r dev-requirements.txt - name: pytest-selfie - pytest @@ -137,7 +137,7 @@ jobs: else . ../../.venv/bin/activate fi - uv pip install -e . + uv pip install -e . -e ../selfie-lib -e ../pytest-selfie uv pip install -r requirements.txt -r dev-requirements.txt - name: example-pytest-selfie - pytest diff --git a/python/pytest-selfie/requirements.txt b/python/pytest-selfie/requirements.txt index 87355430..1e8399a1 100644 --- a/python/pytest-selfie/requirements.txt +++ b/python/pytest-selfie/requirements.txt @@ -1,2 +1 @@ -file:../selfie-lib pytest>=8.0.0,<9.0.0 diff --git a/python/pytest-selfie/tests/test_plugin.py b/python/pytest-selfie/tests/test_plugin.py index 7cbec0e9..6304d0fe 100644 --- a/python/pytest-selfie/tests/test_plugin.py +++ b/python/pytest-selfie/tests/test_plugin.py @@ -13,7 +13,7 @@ class MockConfig(Config): # type: ignore def __init__(self, tmp_path: Path): self._rootpath = tmp_path - def getoption(self, name: str, default: Any = None, skip: bool = False) -> Any: # type: ignore[override] + def getoption(self, _name: str, default: Any = None, _skip: bool = False) -> Any: # type: ignore[override] return default @property