1 """Source file annotation for Coverage.""" |
1 """Source file annotation for Coverage.""" |
2 |
2 |
3 import os, re |
3 import os, re |
4 |
4 |
5 from coverage.report import Reporter |
5 from .report import Reporter |
6 |
6 |
7 class AnnotateReporter(Reporter): |
7 class AnnotateReporter(Reporter): |
8 """Generate annotated source files showing line coverage. |
8 """Generate annotated source files showing line coverage. |
9 |
9 |
10 This reporter creates annotated copies of the measured source files. Each |
10 This reporter creates annotated copies of the measured source files. Each |