diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-05-30 00:23:13 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-12-16 21:15:02 +0100 |
commit | 2105d9edc6cadb541b4d7148f9a6ab886160da90 (patch) | |
tree | 142847bbf48ae67c3fc2570af91503eae03effe0 /pep8.py | |
parent | da9f37d3d9466e1cc35579748cb8adab57b5791c (diff) | |
download | pep8-2105d9edc6cadb541b4d7148f9a6ab886160da90.tar.gz |
Do not enforce whitespaces around ** operator; issue #292feature292
Diffstat (limited to 'pep8.py')
-rwxr-xr-x | pep8.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -688,7 +688,7 @@ def missing_whitespace_around_operator(logical_line, tokens): if need_space is True or need_space[1]: # A needed trailing space was not found yield prev_end, "E225 missing whitespace around operator" - else: + elif prev_text != '**': code, optype = 'E226', 'arithmetic' if prev_text == '%': code, optype = 'E228', 'modulo' |