From 09f7af3b7ecae768521a911f38aa6b05f3a2eed9 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Sun, 23 Mar 2025 15:31:48 +0100 Subject: [PATCH] coverage: Add static context (CoverageWarning: No contexts were measured). --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 07c648b..2bc6b70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ lint.extend-select = ["C", "D", "FURB", "I", "N", "PL", "PTH", "SIM"] lint.extend-ignore = [ "D100", # Missing docstring in public module "D101", # Missing docstring in public class - "D102", # + "D102", # "D103", # Missing docstring in public function "D105", ] @@ -76,6 +76,8 @@ commands = [ [ "coverage", "run", + "--context", + "{env_name}", "-m", "pytest", "--doctest-glob=README.md",