summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-01 07:35:25 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-19 12:41:17 -0400
commit56ccf323dbcc5e8e028400cfab49b54148710d34 (patch)
treed37c8bd65033d6fd7639743d384ec9a4b02011f6 /coverage/html.py
parentdb378c2c9a82076088413f8acbc75007774c8dd3 (diff)
downloadpython-coveragepy-git-56ccf323dbcc5e8e028400cfab49b54148710d34.tar.gz
docs: thanks for the new keyboard shortcuts
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/coverage/html.py b/coverage/html.py
index 953b2db3..d160163f 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -258,9 +258,8 @@ class HtmlReporter:
if self.extra_css:
shutil.copyfile(self.config.extra_css, os.path.join(self.directory, self.extra_css))
- def html_file(self, fr, analysis, prev_fr=None, next_fr=None):
- """Generate an HTML file for one source file, with links to the
- previous and the next file, or to the index."""
+ def html_file(self, fr, analysis, prev_fr, next_fr):
+ """Generate an HTML file for one source file."""
rootname = flat_rootname(fr.relative_filename())
html_filename = rootname + ".html"
if prev_fr is not None: