From 80d9f405f5971fbb9e24c59d129c838fc86138be Mon Sep 17 00:00:00 2001 From: Javier de la Puente Date: Mon, 16 Dec 2024 18:42:03 +0100 Subject: [PATCH] fix linting --- tests/integration/test_charm_metrics_failure.py | 4 +--- tox.ini | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/integration/test_charm_metrics_failure.py b/tests/integration/test_charm_metrics_failure.py index c107d670..8f7c9b41 100644 --- a/tests/integration/test_charm_metrics_failure.py +++ b/tests/integration/test_charm_metrics_failure.py @@ -33,9 +33,7 @@ @pytest_asyncio.fixture(scope="function", name="app") -async def app_fixture( - model: Model, app_for_metric: Application -) -> AsyncIterator[Application]: +async def app_fixture(model: Model, app_for_metric: Application) -> AsyncIterator[Application]: """Setup and teardown the charm after each test. Clear the metrics log before each test. diff --git a/tox.ini b/tox.ini index 8b2907f7..f58f1cb8 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ all_path = {[vars]src_path} {[vars]tst_path} {[vars]scripts_path} [testenv] -# basepython = python3.10 +basepython = python3.10 setenv = PYTHONPATH={toxinidir}:{toxinidir}/lib:{toxinidir}/src PYTHONBREAKPOINT=ipdb.set_trace