Skip to content

Commit

Permalink
Remove pylint workaround since upstream fixed
Browse files Browse the repository at this point in the history
Supposedly this is fixed upstream now:
pylint-dev/pylint#2571 (comment)
  • Loading branch information
DoubleRampage committed Aug 5, 2021
1 parent a9994ea commit 8241f3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions kafka/record/_crc32c.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,5 @@ def crc(data):

if __name__ == "__main__":
import sys
# 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
data = sys.stdin.read()
print(hex(crc(data)))
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ flake8==3.8.3
lz4==3.1.0
mock==4.0.2
py==1.9.0
pylint==2.6.0
pylint==2.9.6
pytest==6.0.2
pytest-cov==2.10.1
pytest-mock==3.3.1
Expand Down

0 comments on commit 8241f3e

Please sign in to comment.