From edfa39c792e711fc252e60d1df7e50f4531f8bd0 Mon Sep 17 00:00:00 2001 From: Mike Lay Date: Thu, 1 Feb 2024 16:13:12 -0800 Subject: [PATCH] Fix lint --- tests/templates/conftest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/templates/conftest.py b/tests/templates/conftest.py index a43e2362..cf347949 100644 --- a/tests/templates/conftest.py +++ b/tests/templates/conftest.py @@ -32,6 +32,7 @@ def _benchmark_score() -> BenchmarkScore: def benchmark_score() -> BenchmarkScore: return _benchmark_score() + @pytest.fixture() def grouped_benchmark_scores() -> dict[str, list[BenchmarkScore]]: benchmark_scores_dict = {} @@ -42,6 +43,7 @@ def grouped_benchmark_scores() -> dict[str, list[BenchmarkScore]]: benchmark_scores_dict[benchmark_definition] = grouped_benchmark_scores_list return benchmark_scores_dict + @pytest.fixture() def template_env() -> Environment: template_dir = pathlib.Path(__file__).parent.parent.parent / "src" / "coffee" / "templates" @@ -49,6 +51,7 @@ def template_env() -> Environment: env.filters["display_stars"] = display_stars return env + @pytest.fixture() def stars_description() -> dict[int, dict[str, str]]: return STARS_DESCRIPTION