summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-05-02 16:23:03 -0700
committerGitHub <noreply@github.com>2021-05-02 16:23:03 -0700
commit3d0ac73d8045b5fa771dbbf594ca0b9a4e581e15 (patch)
tree0fbe83d139730281983130e851a1b39a5a991fa8
parent61138ca629242a998b495ce05b5cd25df2429900 (diff)
parent76ed53c0dfc3b17257aca59671c5c92c39356b57 (diff)
downloadpep8-3d0ac73d8045b5fa771dbbf594ca0b9a4e581e15.tar.gz
Merge pull request #991 from cdce8p/small-fix
Small fix to version_info comparison
-rwxr-xr-xpycodestyle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pycodestyle.py b/pycodestyle.py
index 1ceff9e..0f2f078 100755
--- a/pycodestyle.py
+++ b/pycodestyle.py
@@ -822,7 +822,7 @@ def whitespace_before_parameters(logical_line, tokens):
not keyword.iskeyword(prev_text) and
# 'match' and 'case' are only soft keywords
(
- sys.version_info <= (3, 10) or
+ sys.version_info < (3, 9) or
not keyword.issoftkeyword(prev_text)
)
):