Last active
December 25, 2015 15:19
-
-
Save wallrj/6997823 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[richard@zorin trunk]$ svn diff | coverage-reporter --patch=stdin --patch-level=0 --annotate . | |
Traceback (most recent call last): | |
File "/home/richard/.local/bin/coverage-reporter", line 5, in <module> | |
__main__.main(sys.argv) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/__main__.py", line 24, in main | |
path_list = cfg.parse_options(argv[1:]) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/config.py", line 55, in parse_options | |
self.plugin_manager.call_method('parse_options', options) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/plugins.py", line 134, in call_method | |
method(*args, **kwargs) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/plugins.py", line 42, in parse_options | |
value = option.get_value(options, self.cfg) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/plugins.py", line 104, in get_value | |
if value.lower() in ('true', '1'): | |
AttributeError: 'bool' object has no attribute 'lower' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[richard@zorin trunk]$ svn diff | coverage-reporter --exclude=doc --coverage --patch=stdin --patch-level=0 --annotate . | |
Traceback (most recent call last): | |
File "/home/richard/.local/bin/coverage-reporter", line 5, in <module> | |
__main__.main(sys.argv) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/__main__.py", line 39, in main | |
new_coverage_data = collector.collect(path_list, cover_filter) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/collectors/base.py", line 17, in collect | |
all_lines = self.collect_all_lines(path_list, covered_lines, path_filter) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/collectors/base.py", line 41, in collect_all_lines | |
line_dict[path] = self.get_all_lines_from_path(path) | |
File "/home/richard/.local/lib/python2.7/site-packages/coverage_reporter/collectors/coverage_collector.py", line 19, in get_all_lines_from_path | |
statements, excluded = parser.parse_source() | |
File "/usr/lib64/python2.7/site-packages/coverage/parser.py", line 207, in parse_source | |
self._raw_parse() | |
File "/usr/lib64/python2.7/site-packages/coverage/parser.py", line 166, in _raw_parse | |
self.statement_starts.update(self.byte_parser._find_statements()) | |
File "/usr/lib64/python2.7/site-packages/coverage/parser.py", line 71, in _get_byte_parser | |
ByteParser(text=self.text, filename=self.filename) | |
File "/usr/lib64/python2.7/site-packages/coverage/parser.py", line 348, in __init__ | |
(filename, synerr.msg, synerr.lineno) | |
coverage.misc.NotPython: Couldn't parse '/home/richard/projects/Twisted/trunk/doc/historic/2003/pycon/deferex/deferex-bad-adding.py' as Python source: 'invalid syntax' at line 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[richard@zorin trunk]$ svn diff | coverage-reporter --exclude='.*doc.*' --coverage --patch=stdin --patch-level=0 --annotate . | |
Could not find file '+++ twisted/names/dns.py' with patch level 0 - maybe wrong patch level? Specify -p | |
Could not find file '+++ twisted/names/test/test_dns.py' with patch level 0 - maybe wrong patch level? Specify -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[richard@zorin trunk]$ svn diff | coverage-reporter --exclude='.*/doc/.*' --coverage --patch=stdin --patch-level=0 --annotate --summarize . | |
Name Stmts Exec Miss Cover | |
-------------------------------------------------------------- | |
twisted/names/dns.py 4 4 0 100.00 | |
twisted/names/test/test_dns.py 18 18 0 100.00 | |
-------------------------------------------------------------- | |
TOTAL 22 22 0 100.00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment