Skip to content

Commit 6e1b69f

Browse files
committed
Remove pylint workaround since upstream fixed
Supposedly this is fixed upstream now: pylint-dev/pylint#2571 (comment)
1 parent f0a57a6 commit 6e1b69f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

kafka/record/_crc32c.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,5 @@ def crc(data):
139139

140140
if __name__ == "__main__":
141141
import sys
142-
# TODO remove the pylint disable once pylint fixes
143-
# https://github.com/PyCQA/pylint/issues/2571
144-
data = sys.stdin.read() # pylint: disable=assignment-from-no-return
142+
data = sys.stdin.read()
145143
print(hex(crc(data)))

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ flake8==3.8.3
55
lz4==3.1.0
66
mock==4.0.2
77
py==1.9.0
8-
pylint==2.6.0
8+
pylint==2.9.6
99
pytest==6.0.2
1010
pytest-cov==2.10.1
1111
pytest-mock==3.3.1

0 commit comments

Comments
 (0)