diff --git a/lona/pytest.py b/lona/pytest.py index ff4bc219..81fcc58a 100644 --- a/lona/pytest.py +++ b/lona/pytest.py @@ -117,7 +117,7 @@ def _debug_interactive(): return self.event_loop.run_in_executor(None, _debug_interactive) -@pytest.fixture() +@pytest.fixture def lona_app_context(request, aiohttp_client, event_loop, pytestconfig): async def setup_lona_app_context( setup_app: Callable[[App], None], @@ -149,7 +149,7 @@ async def setup_aiohttp_app() -> Application: Channel._clear_state() -@pytest.fixture() +@pytest.fixture def lona_project_context(request, aiohttp_client, event_loop, pytestconfig): async def setup_lona_project_context( project_root: str = '', diff --git a/pyproject.toml b/pyproject.toml index 41208651..17a74ef7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ lint = [ "flake8-logging-format==2024.24.12", "flake8-mutable==1.2.0", "flake8-noqa==1.4.0", - "flake8-pytest-style==1.7.2", + "flake8-pytest-style==2.0.0", "flake8-quotes==3.4.0", "flake8-use-fstring==1.4", "mypy==1.10.0",