summaryrefslogtreecommitdiff
path: root/pep8.py
diff options
context:
space:
mode:
authorIan Lee <IanLee1521@gmail.com>2014-12-18 00:32:18 -0800
committerIan Lee <IanLee1521@gmail.com>2014-12-18 00:32:18 -0800
commite73ce7d2001f9cd3d1d6acdd1040b7e6abca77fe (patch)
treeac0fb9f10623baf29dd29400952b692afa66be80 /pep8.py
parent42b686b9a3504ee316e6598b4ea8e7d7a52a4cf6 (diff)
parent2105d9edc6cadb541b4d7148f9a6ab886160da90 (diff)
downloadpep8-e73ce7d2001f9cd3d1d6acdd1040b7e6abca77fe.tar.gz
Merge pull request #354 from jcrocholl/feature292
Looks good!
Diffstat (limited to 'pep8.py')
-rwxr-xr-xpep8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pep8.py b/pep8.py
index c8889b5..bb46c22 100755
--- a/pep8.py
+++ b/pep8.py
@@ -686,7 +686,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'