summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-05-19 12:49:34 -0400
committerNed Batchelder <ned@nedbatchelder.com>2020-05-19 12:49:34 -0400
commit7f8dd68dd6da360374603f3a352c07713a3b082d (patch)
treeb7284006f6682f237ae5fbaf490c9e43d035dfcb
parent60f86b82ffe6ff40889f24ae8d25e338da2a92b7 (diff)
downloadpython-coveragepy-git-7f8dd68dd6da360374603f3a352c07713a3b082d.tar.gz
Update pylint
-rw-r--r--coverage/backunittest.py2
-rw-r--r--coverage/config.py2
-rw-r--r--coverage/multiproc.py2
-rw-r--r--requirements/dev.pip2
-rw-r--r--tests/test_phystokens.py2
5 files changed, 5 insertions, 5 deletions
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
diff --git a/requirements/dev.pip b/requirements/dev.pip
index 33e03027..6074ca7c 100644
--- a/requirements/dev.pip
+++ b/requirements/dev.pip
@@ -14,7 +14,7 @@ pluggy==0.13.1
# for linting.
greenlet==0.4.15
-pylint==2.4.4
+pylint==2.5.2
check-manifest==0.40
readme_renderer==24.0
diff --git a/tests/test_phystokens.py b/tests/test_phystokens.py
index 6f38fc94..1256694a 100644
--- a/tests/test_phystokens.py
+++ b/tests/test_phystokens.py
@@ -285,5 +285,5 @@ class CompileUnicodeTest(CoverageTest):
def test_double_coding_declaration(self):
# Build this string in a weird way so that actual vim's won't try to
# interpret it...
- uni = u"# -*- coding:utf-8 -*-\n# v" "im: fileencoding=utf-8\n"
+ uni = u"# -*- coding:utf-8 -*-\n# v" + "im: fileencoding=utf-8\n"
self.assert_compile_unicode(uni)