diff --git a/kafka/record/_crc32c.py b/kafka/record/_crc32c.py index 9db2d89af..ecff48f5e 100644 --- a/kafka/record/_crc32c.py +++ b/kafka/record/_crc32c.py @@ -139,5 +139,7 @@ def crc(data): if __name__ == "__main__": import sys - data = sys.stdin.read() + # TODO remove the pylint disable once pylint fixes + # https://github.com/PyCQA/pylint/issues/2571 + data = sys.stdin.read() # pylint: disable=assignment-from-no-return print(hex(crc(data))) diff --git a/tox.ini b/tox.ini index ad95f9374..1760afffc 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ log_format = %(created)f %(filename)-23s %(threadName)s %(message)s deps = pytest pytest-cov - py{27,34,35,36,py}: pylint==1.8.2 + py{27,34,35,36,py}: pylint py{27,34,35,36,py}: pytest-pylint pytest-mock mock