From dffe029fd2118edb145916c9f706af6522bd6274 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 26 Jul 2015 15:03:11 -0400 Subject: New config option: run:note lets you annotate the data file. --- coverage/control.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'coverage/control.py') diff --git a/coverage/control.py b/coverage/control.py index 2ad0db0f..8a671fe0 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -788,6 +788,9 @@ class Coverage(object): ]) ) + if self.config.note: + self.data.add_run_info(note=self.config.note) + self._measured = False return self.data -- cgit v1.2.1