From 6e1b69fb817eeb289ccb0e721579ef61a4a0e228 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Thu, 5 Aug 2021 13:36:50 -0700 Subject: Remove pylint workaround since upstream fixed Supposedly this is fixed upstream now: https://github.com/PyCQA/pylint/issues/2571#issuecomment-893686260 --- kafka/record/_crc32c.py | 4 +--- requirements-dev.txt | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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 -- cgit v1.2.1