From 7f8dd68dd6da360374603f3a352c07713a3b082d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 19 May 2020 12:49:34 -0400 Subject: Update pylint --- coverage/backunittest.py | 2 +- coverage/config.py | 2 +- coverage/multiproc.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'coverage') diff --git a/coverage/backunittest.py b/coverage/backunittest.py index 078f48cc..123bb2a1 100644 --- a/coverage/backunittest.py +++ b/coverage/backunittest.py @@ -18,7 +18,7 @@ class TestCase(unittest.TestCase): `unittest` doesn't have them. """ - # pylint: disable=arguments-differ, deprecated-method + # pylint: disable=signature-differs, deprecated-method if not unittest_has('assertCountEqual'): def assertCountEqual(self, *args, **kwargs): diff --git a/coverage/config.py b/coverage/config.py index 7876052b..d16c9d6e 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -72,7 +72,7 @@ class HandyConfigParser(configparser.RawConfigParser): d[opt] = self.get(section, opt) return d - def get(self, section, option, *args, **kwargs): # pylint: disable=arguments-differ + def get(self, section, option, *args, **kwargs): """Get a value, replacing environment variables also. The arguments are the same as `RawConfigParser.get`, but in the found diff --git a/coverage/multiproc.py b/coverage/multiproc.py index 2931b3be..0afcb0c9 100644 --- a/coverage/multiproc.py +++ b/coverage/multiproc.py @@ -28,7 +28,7 @@ original_bootstrap = OriginalProcess._bootstrap class ProcessWithCoverage(OriginalProcess): # pylint: disable=abstract-method """A replacement for multiprocess.Process that starts coverage.""" - def _bootstrap(self, *args, **kwargs): # pylint: disable=arguments-differ + def _bootstrap(self, *args, **kwargs): # pylint: disable=signature-differs """Wrapper around _bootstrap to start coverage.""" try: from coverage import Coverage # avoid circular import -- cgit v1.2.1