From 69672965cabf5f31d3f17c2095ba9685deafb0a8 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Wed, 15 Oct 2014 14:30:13 +0300 Subject: Add new '-j' option for running checks in sub-processes. Patch by Michal Nowikowski. --- utils.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils.py') diff --git a/utils.py b/utils.py index 068afce..36194b7 100644 --- a/utils.py +++ b/utils.py @@ -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. -- cgit v1.2.1