From 6f09c18ecdd6efc936c035cfb853769e4993cae1 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 11 Aug 2020 19:43:05 +0200 Subject: Run coverage over tests/scripts Rationale: https://nedbatchelder.com/blog/202008/you_should_include_your_tests_in_coverage.html Switched from "source" to "include" as a workaround for https://github.com/nedbat/coveragepy/issues/578 - also see: https://github.com/LibraryOfCongress/concordia/pull/857/files --- .coveragerc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.coveragerc') diff --git a/.coveragerc b/.coveragerc index 2ef20dd12..9d43917a3 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,8 @@ [run] -source = qutebrowser +include = + qutebrowser/* + tests/* + scripts/* branch = true omit = qutebrowser/__main__.py -- cgit v1.2.3-54-g00ecf