This repository was archived by the owner on Sep 28, 2020. It is now read-only.
File tree 3 files changed +11
-6
lines changed
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ cpplint JUnit Converter
16
16
.. image :: https://img.shields.io/pypi/pyversions/cpplint-junit.svg
17
17
:target: https://pypi.python.org/pypi/cpplint-junit/
18
18
19
- .. image :: https://img.shields.io/pypi/dd /cpplint-junit.svg
19
+ .. image :: https://img.shields.io/pypi/dm /cpplint-junit.svg
20
20
:target: https://pypi.python.org/pypi/cpplint-junit/
21
21
22
22
Tool that converts ``cpplint `` output to JUnit XML format. Use on your CI servers to get more
@@ -50,6 +50,11 @@ Convert it to JUnit XML format:
50
50
Releases
51
51
--------
52
52
53
+ 1.0.0 - 2016-02-15
54
+ ^^^^^^^^^^^^^^^^^^
55
+
56
+ Release 1.0. Increase test coverage.
57
+
53
58
0.2.3 - 2015-11-14
54
59
^^^^^^^^^^^^^^^^^^
55
60
Original file line number Diff line number Diff line change 9
9
import sys
10
10
from xml .etree import ElementTree
11
11
12
- __version__ = '0.2.3 '
12
+ __version__ = '1.0.0 '
13
13
14
14
EXIT_SUCCESS = 0
15
15
EXIT_FAILURE = - 1
@@ -43,7 +43,7 @@ def parse_cpplint(file_name):
43
43
file_name (str): cpplint output file.
44
44
45
45
Returns:
46
- Dict[str, List[CpplintError]]: Parsed failures grouped by file name.
46
+ Dict[str, List[CpplintError]]: Parsed errors grouped by file name.
47
47
48
48
Raises:
49
49
FileNotFoundError: File does not exist.
@@ -65,10 +65,10 @@ def parse_cpplint(file_name):
65
65
66
66
67
67
def generate_test_suite (errors ):
68
- """Writes a JUnit test file from parsed cpplint failures .
68
+ """Creates a JUnit XML tree from parsed cpplint errors .
69
69
70
70
Args:
71
- errors (Dict[str, List[CpplintError]]): Parsed cpplint failures .
71
+ errors (Dict[str, List[CpplintError]]): Parsed cpplint errors .
72
72
73
73
Returns:
74
74
ElementTree.ElementTree: XML test suite.
Original file line number Diff line number Diff line change 20
20
zip_safe = False ,
21
21
22
22
classifiers = [
23
- 'Development Status :: 3 - Alpha ' ,
23
+ 'Development Status :: 4 - Beta ' ,
24
24
'Environment :: Console' ,
25
25
'Intended Audience :: Developers' ,
26
26
'License :: OSI Approved :: MIT License' ,
You can’t perform that action at this time.
0 commit comments