summaryrefslogtreecommitdiff
path: root/kafka
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2021-08-05 13:36:50 -0700
committerJeff Widman <jeff@jeffwidman.com>2021-08-05 13:40:52 -0700
commit6e1b69fb817eeb289ccb0e721579ef61a4a0e228 (patch)
tree397186c6ba3395c069798f8535c84c1f630568a1 /kafka
parentf0a57a6a20a3049dc43fbf7ad9eab9635bd2c0b0 (diff)
downloadkafka-python-remove-pylint-hack.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
Diffstat (limited to 'kafka')
-rw-r--r--kafka/record/_crc32c.py4
1 files changed, 1 insertions, 3 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)))