diff --git a/kafka/record/_crc32c.py b/kafka/record/_crc32c.py index ecff48f..9db2d89 100644 --- a/kafka/record/_crc32c.py +++ b/kafka/record/_crc32c.py @@ -139,7 +139,5 @@ def crc(data): if __name__ == "__main__": import sys - # 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 + data = sys.stdin.read() print(hex(crc(data))) diff --git a/requirements-dev.txt b/requirements-dev.txt index 00ad68c..8b8d383 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,7 +5,7 @@ flake8==3.8.3 lz4==3.1.0 mock==4.0.2 py==1.9.0 -pylint==2.6.0 +pylint==2.9.6 pytest==6.0.2 pytest-cov==2.10.1 pytest-mock==3.3.1