check_coverage: Add qutebrowser/ to filter list

For coverage 4.4 we removed qutebrowser/ from filenames, so we need to re-add it
here so the filter still works correctly.
This commit is contained in:
Florian Bruhin 2017-05-15 11:32:41 +02:00
parent 157a0af908
commit 991b3123d7

View File

@ -264,7 +264,7 @@ def main_check():
for msg in messages:
print(msg.text)
print()
filters = ','.join(msg.filename for msg in messages)
filters = ','.join('qutebrowser/' + msg.filename for msg in messages)
subprocess.check_call([sys.executable, '-m', 'coverage', 'report',
'--show-missing', '--include', filters])
print()