Skip to content

Commit

Permalink
Update pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 19, 2020
1 parent 60f86b8 commit 7f8dd68
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion coverage/backunittest.py
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion coverage/config.py
Expand Up @@ -72,7 +72,7 @@ def get_section(self, section):
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
Expand Down
2 changes: 1 addition & 1 deletion coverage/multiproc.py
Expand Up @@ -28,7 +28,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.pip
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/test_phystokens.py
Expand Up @@ -285,5 +285,5 @@ def test_cp1252(self):
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)

0 comments on commit 7f8dd68

Please sign in to comment.