From cd0bd8e4db66a532f19a76908c677ebf004f642e Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Fri, 26 Oct 2018 14:09:54 -0700 Subject: Add temp workaround for upstream pylint bug Temporarily workaround https://github.com/PyCQA/pylint/issues/2571 so that we can stop pinning `pylint`. --- kafka/record/_crc32c.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kafka/record') diff --git a/kafka/record/_crc32c.py b/kafka/record/_crc32c.py index 9db2d89..ecff48f 100644 --- a/kafka/record/_crc32c.py +++ b/kafka/record/_crc32c.py @@ -139,5 +139,7 @@ def crc(data): if __name__ == "__main__": import sys - data = sys.stdin.read() + # 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 print(hex(crc(data))) -- cgit v1.2.1