From 58476e4607da73b27305de879c9579d01f158159 Mon Sep 17 00:00:00 2001 From: Felipe Carlos Date: Tue, 13 Feb 2024 11:13:16 -0300 Subject: [PATCH] code: fixing codestyle --- setup.cfg | 1 + tests/conftest.py | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/setup.cfg b/setup.cfg index 1216c89..00e7884 100644 --- a/setup.cfg +++ b/setup.cfg @@ -48,6 +48,7 @@ install_requires = docs = Sphinx>=4.5.0 tests = + black<=23.12.1 pytest-black>=0.3.0 invenio-app>=1.3.4,<2.0.0 invenio-db[postgresql,mysql]>=1.0.14,<2.0.0 diff --git a/tests/conftest.py b/tests/conftest.py index b681a77..c747ff8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -48,13 +48,13 @@ def app_config(app_config): """Mimic an instance's configuration.""" app_config["JSONSCHEMAS_HOST"] = "localhost" - app_config["RECORDS_REFRESOLVER_CLS"] = ( - "invenio_records.resolver.InvenioRefResolver" - ) + app_config[ + "RECORDS_REFRESOLVER_CLS" + ] = "invenio_records.resolver.InvenioRefResolver" - app_config["RECORDS_REFRESOLVER_STORE"] = ( - "invenio_jsonschemas.proxies.current_refresolver_store" - ) + app_config[ + "RECORDS_REFRESOLVER_STORE" + ] = "invenio_jsonschemas.proxies.current_refresolver_store" return app_config