Skip to content

Commit

Permalink
Merge pull request #991 from cdce8p/small-fix
Browse files Browse the repository at this point in the history
Small fix to version_info comparison
  • Loading branch information
asottile committed May 2, 2021
2 parents 61138ca + 76ed53c commit 3d0ac73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycodestyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
):
Expand Down

0 comments on commit 3d0ac73

Please sign in to comment.