diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-10-26 14:09:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 14:09:54 -0700 |
commit | f8ccf3389caa3fd8d9c818c6a878d29edddaef20 (patch) | |
tree | 8416a1bef6f73603e8066c585401ecbb8e7b5540 | |
parent | 481f88068bdf0a18f12fd7a811b795f889d35fc7 (diff) | |
download | kafka-python-workaround-pylint-bug.tar.gz |
Add temp workaround for upstream pylint bugworkaround-pylint-bug
Temporarily workaround https://github.com/PyCQA/pylint/issues/2571 so that we can stop pinning `pylint` (https://github.com/dpkp/kafka-python/pull/1611)
-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))) |