From 3cfd527929fc5dfcdc13a0edf6a6d13f5eb76fcb Mon Sep 17 00:00:00 2001 From: Sebastian Rettenberger Date: Fri, 8 Mar 2019 14:41:51 +0100 Subject: Add line breaks in comment --- pycodestyle.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pycodestyle.py b/pycodestyle.py index c2af130..03696b7 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -1467,7 +1467,8 @@ def ambiguous_identifier(logical_line, tokens): if prev_text in idents_to_avoid: ident = prev_text pos = prev_start - # identifiers bound to values with 'as', 'for', 'global', or 'nonlocal' + # identifiers bound to values with 'as', 'for', + # 'global', or 'nonlocal' if prev_text in ('as', 'for', 'global', 'nonlocal'): if text in idents_to_avoid: ident = text -- cgit v1.2.1