diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2014-10-15 14:30:13 +0300 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2014-10-15 14:30:13 +0300 |
| commit | c03fefdefba97e187f5458288227f4224ee53cc0 (patch) | |
| tree | 29ebd239f004e793f01a15e07e3f4b129ca6e474 /utils.py | |
| parent | 4ea910d67ccc0c96593a89a539791f97c5043284 (diff) | |
| download | pylint-git-c03fefdefba97e187f5458288227f4224ee53cc0.tar.gz | |
Add new '-j' option for running checks in sub-processes.
Patch by Michal Nowikowski.
Diffstat (limited to 'utils.py')
| -rw-r--r-- | utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -94,6 +94,10 @@ class Message(_MsgBase): cls, msg_id, symbol, msg, msg_id[0], MSG_TYPES[msg_id[0]], confidence, *location) + def get_init_args(self): + location = (self.abspath, self.module, self.obj, self.line, self.column) + return (self.msg_id, self.symbol, location, self.msg, self.confidence) + def format(self, template): """Format the message according to the given template. |
