summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-09-29 13:40:56 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-09-29 15:15:36 -0400
commit5bcfc263c54cb0229b6a39840ab961005536818e (patch)
treec4270f27004370c2ce3ec96d361f646e0f20d647
parent1677bbb3d8ca809d5c5e25248f08e065af85cde7 (diff)
downloadpython-coveragepy-git-5bcfc263c54cb0229b6a39840ab961005536818e.tar.gz
test: update pylint
-rw-r--r--coverage/context.py2
-rw-r--r--pylintrc2
-rw-r--r--requirements/dev.pip2
3 files changed, 4 insertions, 2 deletions
diff --git a/coverage/context.py b/coverage/context.py
index ea13da21..45e86a5c 100644
--- a/coverage/context.py
+++ b/coverage/context.py
@@ -80,7 +80,7 @@ def qualname_from_frame(frame):
if f is func:
return base.__module__ + '.' + base.__name__ + "." + fname
for base in bases:
- qname = mro(base.__bases__)
+ qname = mro(base.__bases__) # pylint: disable=cell-var-from-loop
if qname is not None:
return qname
return None
diff --git a/pylintrc b/pylintrc
index 8fd4b356..20258c0f 100644
--- a/pylintrc
+++ b/pylintrc
@@ -90,6 +90,8 @@ disable=
# Messages that are noisy for now, eventually maybe we'll turn them on:
invalid-name,
protected-access,
+ unspecified-encoding,
+ consider-using-f-string,
duplicate-code,
cyclic-import
diff --git a/requirements/dev.pip b/requirements/dev.pip
index 7e419e05..90729ee0 100644
--- a/requirements/dev.pip
+++ b/requirements/dev.pip
@@ -15,7 +15,7 @@ tox
# for linting.
greenlet==1.1.1
-pylint==2.9.6
+pylint==2.11.1
check-manifest==0.46
readme_renderer==29.0