From d50d551bd74f15be9fa081a5382f77449939e8ef Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Sat, 14 Sep 2024 19:18:02 -0400 Subject: [PATCH] chore: ruff PT rules --- conftest.py | 2 +- extension_explorer/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conftest.py b/conftest.py index b19110492..7dc10dfe6 100644 --- a/conftest.py +++ b/conftest.py @@ -3,6 +3,6 @@ from extension_explorer.views import app as flask_app -@pytest.fixture() +@pytest.fixture def app(): return flask_app diff --git a/extension_explorer/views.py b/extension_explorer/views.py index c16471d27..0db2d7138 100644 --- a/extension_explorer/views.py +++ b/extension_explorer/views.py @@ -30,7 +30,7 @@ class Configuration(metaclass=MetaFlaskEnv): ENV_PREFIX = 'FLASK_' FREEZER_IGNORE_404_NOT_FOUND = True - FREEZER_STATIC_IGNORE = ['*.scss', 'LICENSE'] + FREEZER_STATIC_IGNORE = ('*.scss', 'LICENSE') def get_locale():