diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2021-08-05 13:36:50 -0700 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2021-08-05 13:40:52 -0700 |
commit | 6e1b69fb817eeb289ccb0e721579ef61a4a0e228 (patch) | |
tree | 397186c6ba3395c069798f8535c84c1f630568a1 | |
parent | f0a57a6a20a3049dc43fbf7ad9eab9635bd2c0b0 (diff) | |
download | kafka-python-6e1b69fb817eeb289ccb0e721579ef61a4a0e228.tar.gz |
Remove pylint workaround since upstream fixedremove-pylint-hack
Supposedly this is fixed upstream now:
https://github.com/PyCQA/pylint/issues/2571#issuecomment-893686260
-rw-r--r-- | kafka/record/_crc32c.py | 4 | ||||
-rw-r--r-- | 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 |