From b0f4acf605c61c13ef74a3a9e02525cd54bde418 Mon Sep 17 00:00:00 2001 From: Rehan Khwaja Date: Wed, 4 Sep 2024 21:19:45 -0700 Subject: [PATCH] Update ruff >= 0.6.3 --- pyproject.toml | 2 +- tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 23a23b2..d5b4a3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ pytest = ">=7.1" pytest-cov = ">=2.10.1" pytest-asyncio = ">=0.16.0" poethepoet = ">=0.16.4" -ruff = ">=0.3.1" +ruff = ">=0.6.3" [tool.poe.tasks] lint = "ruff check src tests" diff --git a/tests/conftest.py b/tests/conftest.py index 71af31e..b99ec56 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -7,7 +7,7 @@ def pytest_addoption(parser): parser.addoption('--collect', action='store', default='test', help=f'Valid options are {",".join(_COLLECT_OPTIONS)}') -@fixture() +@fixture def collect(request): value = request.config.getoption('--collect') if value not in _COLLECT_OPTIONS: