diff --git a/app/i18n.py b/app/i18n.py index 7bd81da..88a5e30 100644 --- a/app/i18n.py +++ b/app/i18n.py @@ -1,5 +1,6 @@ """i18n handling """ + import contextlib import contextvars import gettext diff --git a/requirements.txt b/requirements.txt index 2644023..7667817 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ openfoodfacts==0.1.5 prometheus-fastapi-instrumentator==6.1.0 # dev -black==22.6.0 +black==24.3.0 pytest==7.4.0 pytest-mock==3.11.1 pytest-asyncio==0.21.1 diff --git a/tests/test_dataquality_kp.py b/tests/test_dataquality_kp.py index 2aa734d..cb1f34b 100644 --- a/tests/test_dataquality_kp.py +++ b/tests/test_dataquality_kp.py @@ -1,4 +1,5 @@ """seperate file for tests of dataquality_kp""" + import aiohttp import pytest diff --git a/tests/test_hunger_game_kp.py b/tests/test_hunger_game_kp.py index d792f88..f8b441f 100644 --- a/tests/test_hunger_game_kp.py +++ b/tests/test_hunger_game_kp.py @@ -1,4 +1,5 @@ """separate file for tests of hungergame_kp""" + import pytest from app.i18n import active_translation diff --git a/tests/test_lastedits_kp.py b/tests/test_lastedits_kp.py index bbce227..aa73f06 100644 --- a/tests/test_lastedits_kp.py +++ b/tests/test_lastedits_kp.py @@ -1,4 +1,5 @@ """separate file for tests of lastedits_kp""" + import aiohttp import pytest diff --git a/tests/test_wikidata_kp.py b/tests/test_wikidata_kp.py index 2a8cd6b..cf023a4 100644 --- a/tests/test_wikidata_kp.py +++ b/tests/test_wikidata_kp.py @@ -1,4 +1,5 @@ """separate file for tests of wikidata_kp""" + import aiohttp import pytest import wikidata.client