From c88459c6ad6e798a614a87e09640f95224d83faf Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Mon, 10 Mar 2025 13:30:43 +0100 Subject: [PATCH 1/2] Use poetry 1.x in CI Signed-off-by: Nils Philippsen --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f7054bc0..e886c6f9 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ skip_missing_interpreters = true [testenv] deps = - poetry + poetry<2 pip setenv = COV_FAIL_UNDER = 100 From 458b9e04c886673f2621398eb10a2bd243ed5d36 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Mon, 10 Mar 2025 12:43:31 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Don=E2=80=99t=20configure=20pytest=20to=20r?= =?UTF-8?q?un=20black=20or=20isort?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nils Philippsen --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7f61f4bc..bff87ef6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,7 +109,7 @@ client = ["httpx"] duffy = "duffy.cli:cli" [tool.pytest.ini_options] -addopts = "--black --cov-config .coveragerc --cov=duffy --cov-report term --cov-report xml --cov-report html --isort" +addopts = "--cov-config .coveragerc --cov=duffy --cov-report term --cov-report xml --cov-report html" asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" log_format = "%(levelname)s: %(asctime)s %(short_request_id_optional)s(%(filename)s:%(lineno)s %(message)s)"