Skip to content

Commit 7f33233

Browse files
committed
coverage: Add static context (CoverageWarning: No contexts were measured).
1 parent e78c9e4 commit 7f33233

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ lint.extend-select = ["C", "D", "FURB", "I", "N", "PL", "PTH", "SIM"]
4747
lint.extend-ignore = [
4848
"D100", # Missing docstring in public module
4949
"D101", # Missing docstring in public class
50-
"D102", #
50+
"D102", #
5151
"D103", # Missing docstring in public function
5252
"D105",
5353
]
@@ -76,6 +76,8 @@ commands = [
7676
[
7777
"coverage",
7878
"run",
79+
"--context",
80+
"{env_name}",
7981
"-m",
8082
"pytest",
8183
"--doctest-glob=README.md",

0 commit comments

Comments
 (0)