Skip to content

Commit 859bffa

Browse files
committed
chore(nix): use pytest-cov-stub
This is the Nix-convention to opt-out from coverage measurement during build
1 parent 1e456e9 commit 859bffa

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

package.nix

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,13 @@ python3.pkgs.buildPythonApplication {
126126
with python3.pkgs;
127127
[
128128
pytestCheckHook
129-
pytest-cov
129+
pytest-cov-stub
130130
versionCheckHook
131131
]
132132
++ runtimeDeps;
133133

134134
versionCheckProgramArg = "--version";
135135

136-
pytestFlagsArray = [
137-
"--no-cov"
138-
];
139-
140136
passthru = {
141137
# helpful to easily add these to a nix-shell environment
142138
inherit runtimeDeps;

0 commit comments

Comments
 (0)