diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-02-15 12:30:31 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-02-15 12:30:31 -0500 |
commit | 1f0e50cdf60d38aa73e9eac8d3fdaf71061749ff (patch) | |
tree | 2671c278c997b476102e64fb64c76a749a2b0f12 /coverage/plugin.py | |
parent | d77a0119140a42a848e21f3f13005bf63c7cad53 (diff) | |
download | python-coveragepy-1f0e50cdf60d38aa73e9eac8d3fdaf71061749ff.tar.gz |
Pick off some lint
Diffstat (limited to 'coverage/plugin.py')
-rw-r--r-- | coverage/plugin.py | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py index 85521e3..97d9c16 100644 --- a/coverage/plugin.py +++ b/coverage/plugin.py @@ -330,19 +330,13 @@ class FileReporter(object): return {} def missing_arc_description(self, start, end): - """Provide an English phrase describing a missing arc. + """Provide an English sentence describing a missing arc. - For an arc like (123, 456), it should read well to use the phrase like - this:: - - "Line {0} didn't {1}".format(123, missing_arc_description(123, 456)) - - TODO: say more. - - By default, this simply returns the string "jump to {end}". + By default, this simply returns the string "Line {start} didn't jump + to {end}". """ - return "jump to line {end}".format(end=end) + return "Line {start} didn't jump to line {end}".format(start=start, end=end) def source_token_lines(self): """Generate a series of tokenized lines, one for each line in `source`. |