Commit 371afee9 authored by Jason Madden's avatar Jason Madden

Adapt to latest pylint errors.

parent eacc7441
...@@ -5,15 +5,15 @@ wheel ...@@ -5,15 +5,15 @@ wheel
# 0.28 is faster, and (important!) lets us specify the target module # 0.28 is faster, and (important!) lets us specify the target module
# name to be created so that we can have both foo.py and _foo.so # name to be created so that we can have both foo.py and _foo.so
# at the same time. # at the same time.
Cython >= 0.28.1 Cython >= 0.28.5
# Python 3.7 requires at least 0.4.14, which is ABI incompatible with earlier # Python 3.7 requires at least 0.4.14, which is ABI incompatible with earlier
greenlet>=0.4.14 ; platform_python_implementation == "CPython" greenlet>=0.4.14 ; platform_python_implementation == "CPython"
pylint>=1.8.0 ; python_version < "3.4" pylint>=1.8.0 ; python_version < "3.4"
pylint >= 2.0.0.dev2 ; python_version >= "3.4"
# pylint 2 needs astroid 2; unfortunately, it uses `typed_ast` # pylint 2 needs astroid 2; unfortunately, it uses `typed_ast`
# which has a C extension that doesn't build on PyPy # which has a C extension that doesn't build on PyPy
astroid >= 2.0.0.dev1 ; python_version >= "3.4" and platform_python_implementation == "CPython" pylint >= 2.1.1 ; python_version >= "3.4" and platform_python_implementation == "CPython"
astroid >= 2.0.2 ; python_version >= "3.4" and platform_python_implementation == "CPython"
# See version requirements in setup.py # See version requirements in setup.py
cffi >= 1.11.5 ; platform_python_implementation == "CPython" cffi >= 1.11.5 ; platform_python_implementation == "CPython"
......
...@@ -54,7 +54,7 @@ class SSLContext(orig_SSLContext): ...@@ -54,7 +54,7 @@ class SSLContext(orig_SSLContext):
suppress_ragged_eofs=True, suppress_ragged_eofs=True,
server_hostname=None, server_hostname=None,
session=None): session=None):
# pylint:disable=arguments-differ # pylint:disable=arguments-differ,not-callable
# (3.6 adds session) # (3.6 adds session)
# Sadly, using *args and **kwargs doesn't work # Sadly, using *args and **kwargs doesn't work
return self.sslsocket_class( return self.sslsocket_class(
......
...@@ -37,6 +37,7 @@ class LoopExit(Exception): ...@@ -37,6 +37,7 @@ class LoopExit(Exception):
""" """
def __repr__(self): def __repr__(self):
# pylint:disable=unsubscriptable-object
if len(self.args) == 3: # From the hub if len(self.args) == 3: # From the hub
import pprint import pprint
return "%s\n\tHub: %s\n\tHandles:\n%s" % ( return "%s\n\tHub: %s\n\tHandles:\n%s" % (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment