Skip to content

Commit

Permalink
stdin: Fix flake version_info check
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivm committed Nov 25, 2021
1 parent c938da9 commit 649ee70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flake8_polyfill/stdin.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def monkey_patch(which):
from flake8.engine import pep8 as _pep8

stdin_get_value = _pep8.stdin_get_value
elif (3, 0) <= version.version_info < (4, 0):
elif (3, 0) <= version.version_info <= (5, 0, 0):
from flake8 import utils

stdin_get_value = utils.stdin_get_value
Expand Down

0 comments on commit 649ee70

Please sign in to comment.