From 76ed53c0dfc3b17257aca59671c5c92c39356b57 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 3 May 2021 01:16:00 +0200 Subject: issoftkeyword was added in py39 --- pycodestyle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pycodestyle.py') diff --git a/pycodestyle.py b/pycodestyle.py index e864f02..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) ) ): -- cgit v1.2.1