diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-10-26 14:09:54 -0700 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2018-10-26 21:03:48 -0700 |
commit | cd0bd8e4db66a532f19a76908c677ebf004f642e (patch) | |
tree | 8416a1bef6f73603e8066c585401ecbb8e7b5540 | |
parent | 481f88068bdf0a18f12fd7a811b795f889d35fc7 (diff) | |
download | kafka-python-cd0bd8e4db66a532f19a76908c677ebf004f642e.tar.gz |
Add temp workaround for upstream pylint bug
Temporarily workaround https://github.com/PyCQA/pylint/issues/2571 so that we can stop pinning `pylint`.
-rw-r--r-- | kafka/record/_crc32c.py | 4 |
1 files changed, 3 insertions, 1 deletions
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))) |