/
Customising Coverage.py Output

Customising Coverage.py Output

In tox.ini add a section

[coverage:html]
extra_css = clover.css

Where clover.css is a file that is accessible by the coverage script - it will copy it across with the rest of the files.

The file should contain re-definitions of styles in the original stylesheet which will then be overridden.

.text p.hide_run {
    background: #00ff00;
}

Appears to give all the lines that have been run a rather bright shade of lime green.