Skip to content

Commit

Permalink
Add temp workaround for upstream pylint bug
Browse files Browse the repository at this point in the history
Temporarily workaround pylint-dev/pylint#2571 so that we can stop pinning `pylint` (#1611)
  • Loading branch information
jeffwidman committed Oct 26, 2018
1 parent 481f880 commit d75d1e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kafka/record/_crc32c.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

0 comments on commit d75d1e3

Please sign in to comment.