Skip to content

Commit cd0bd8e

Browse files
committed
Add temp workaround for upstream pylint bug
Temporarily workaround pylint-dev/pylint#2571 so that we can stop pinning `pylint`.
1 parent 481f880 commit cd0bd8e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kafka/record/_crc32c.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,7 @@ def crc(data):
139139

140140
if __name__ == "__main__":
141141
import sys
142-
data = sys.stdin.read()
142+
# TODO remove the pylint disable once pylint fixes
143+
# https://github.com/PyCQA/pylint/issues/2571
144+
data = sys.stdin.read() # pylint: disable=assignment-from-no-return
143145
print(hex(crc(data)))

0 commit comments

Comments
 (0)