From c77fdffce302d32cfb4308e13387ebf1da25f6f3 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 16 Jan 2015 20:28:38 -0500 Subject: Pylint didn't like .format(self=self): Argument 'self' passed by position and keyword --- coverage/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/plugin.py') diff --git a/coverage/plugin.py b/coverage/plugin.py index 0e741a9f..32750a18 100644 --- a/coverage/plugin.py +++ b/coverage/plugin.py @@ -145,8 +145,8 @@ class FileReporter(object): def __repr__(self): return ( - "<{self.__class__.__name__}" - " filename={self.filename!r}>".format(self=self) + "<{this.__class__.__name__}" + " filename={this.filename!r}>".format(this=self) ) # Annoying comparison operators. Py3k wants __lt__ etc, and Py2k needs all -- cgit v1.2.1