Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 649ee70

Browse files
committed
stdin: Fix flake version_info check
1 parent c938da9 commit 649ee70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flake8_polyfill/stdin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def monkey_patch(which):
5353
from flake8.engine import pep8 as _pep8
5454

5555
stdin_get_value = _pep8.stdin_get_value
56-
elif (3, 0) <= version.version_info < (4, 0):
56+
elif (3, 0) <= version.version_info <= (5, 0, 0):
5757
from flake8 import utils
5858

5959
stdin_get_value = utils.stdin_get_value

0 commit comments

Comments
 (0)