-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring after review, new tests for pylint output parser.
- Loading branch information
Rafał Nowak
committed
Apr 21, 2016
1 parent
fd343c1
commit bbf5b74
Showing
6 changed files
with
137 additions
and
392 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
{ | ||
"message": "Missing module docstring", | ||
"obj": "", | ||
"column": 0, | ||
"path": "PythonTest.py", | ||
"line": 1, | ||
"type": "convention", | ||
"symbol": "missing-docstring", | ||
"module": "PythonTest" | ||
}, | ||
{ | ||
"message": "Do refactor", | ||
"obj": "foo", | ||
"column": 0, | ||
"path": "PythonTest.py", | ||
"line": 1, | ||
"type": "refactor", | ||
"symbol": "blacklisted-name", | ||
"module": "PythonTest" | ||
}, | ||
{ | ||
"message": "Fatal error - total destruction", | ||
"obj": "foo", | ||
"column": 0, | ||
"path": "PythonTest.py", | ||
"line": 1, | ||
"type": "fatal", | ||
"symbol": "invalid-name", | ||
"module": "PythonTest" | ||
}, | ||
{ | ||
"message": "Something bad", | ||
"obj": "foo", | ||
"column": 0, | ||
"path": "PythonTest.py", | ||
"line": 1, | ||
"type": "error", | ||
"symbol": "missing-docstring", | ||
"module": "PythonTest" | ||
} | ||
] |
42 changes: 42 additions & 0 deletions
42
src/test/resources/pylint/output-with-many-message-types.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
{ | ||
"message": "Missing module docstring", | ||
"obj": "", | ||
"column": 0, | ||
"path": "PythonTest.py", | ||
"line": 1, | ||
"type": "convention", | ||
"symbol": "missing-docstring", | ||
"module": "PythonTest" | ||
}, | ||
{ | ||
"message": "Do refactor", | ||
"obj": "foo", | ||
"column": 0, | ||
"path": "PythonTest.py", | ||
"line": 1, | ||
"type": "refactor", | ||
"symbol": "blacklisted-name", | ||
"module": "PythonTest" | ||
}, | ||
{ | ||
"message": "Some warning", | ||
"obj": "foo", | ||
"column": 0, | ||
"path": "PythonTest.py", | ||
"line": 1, | ||
"type": "warning", | ||
"symbol": "invalid-name", | ||
"module": "PythonTest" | ||
}, | ||
{ | ||
"message": "Something bad", | ||
"obj": "foo", | ||
"column": 0, | ||
"path": "PythonTest.py", | ||
"line": 1, | ||
"type": "error", | ||
"symbol": "missing-docstring", | ||
"module": "PythonTest" | ||
} | ||
] |
Oops, something went wrong.