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 | 69672965cabf5f31d3f17c2095ba9685deafb0a8 (patch) | |
tree | 91bdd0b52e3fe032520f910ecc04b2184f2f7eed /utils.py | |
parent | a20b20729bad9edfb9a97cb618f742d9a76266a5 (diff) | |
download | pylint-69672965cabf5f31d3f17c2095ba9685deafb0a8.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. |