From 6359c719d6ae03764cf487c3e80e598cd19c5596 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 20 Apr 2012 17:37:11 -0400 Subject: The [html]extra_css configuration value is a file path to a CSS file that gets copied into the HTML report. --- coverage/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'coverage/config.py') diff --git a/coverage/config.py b/coverage/config.py index ef45ba5..49d74e7 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -52,6 +52,7 @@ class CoverageConfig(object): # Defaults for [html] self.html_dir = "htmlcov" + self.extra_css = None # Defaults for [xml] self.xml_output = "coverage.xml" @@ -125,6 +126,8 @@ class CoverageConfig(object): # [html] if cp.has_option('html', 'directory'): self.html_dir = cp.get('html', 'directory') + if cp.has_option('html', 'extra_css'): + self.extra_css = cp.get('html', 'extra_css') # [xml] if cp.has_option('xml', 'output'): -- cgit v1.2.1