From 4f2d7b5ce1ad537e28c0e33e0e3192c439800888 Mon Sep 17 00:00:00 2001 From: deedy5 <65482418+deedy5@users.noreply.github.com> Date: Tue, 16 Apr 2024 13:27:32 +0300 Subject: [PATCH] pytest - add retries --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index de61a80..c448f9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,5 +26,19 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", ] dynamic = ["version"] + +dependencies = [] + +[project.optional-dependencies] +dev = [ + "pytest>=8.1.1", + "pytest-retry>=1.6.2", +] + [tool.maturin] features = ["pyo3/extension-module"] + +[tool.pytest.ini_options] +retries = 3 +retry_delay = 0.5 +cumulative_timing = false