diff options
author | Sebastian Rettenberger <sebastian.rettenberger@volke-muc.de> | 2019-03-08 14:41:51 +0100 |
---|---|---|
committer | Sebastian Rettenberger <sebastian.rettenberger@volke-muc.de> | 2019-03-08 14:41:51 +0100 |
commit | 3cfd527929fc5dfcdc13a0edf6a6d13f5eb76fcb (patch) | |
tree | f6fc7027fa77aec854a44c61b00df5dba89506f7 /pycodestyle.py | |
parent | e5cdc22a29bf0c4abe30c152f81124e4b7a5dad7 (diff) | |
download | pep8-3cfd527929fc5dfcdc13a0edf6a6d13f5eb76fcb.tar.gz |
Add line breaks in comment
Diffstat (limited to 'pycodestyle.py')
-rwxr-xr-x | pycodestyle.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |