From dcd142af152298919d545b34a143c45597071f37 Mon Sep 17 00:00:00 2001 From: A_D Date: Mon, 23 Nov 2020 08:17:56 +0200 Subject: [PATCH] Added configuration for tests --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 5b2d299b..1739e2f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,3 +4,9 @@ max_line_length = 120 [tool.isort] multi_line_output = 5 line_length = 119 + +[tool.pytest.ini_options] +testpaths = ["tests"] # Search for tests in tests/ + +[tool.coverage.run] +omit = ["venv/*"] # when running pytest --cov, dont report coverage in venv directories \ No newline at end of file