summaryrefslogtreecommitdiff
path: root/pycodestyle.py
diff options
context:
space:
mode:
Diffstat (limited to 'pycodestyle.py')
-rwxr-xr-xpycodestyle.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pycodestyle.py b/pycodestyle.py
index 0d8ed50..ac584ce 100755
--- a/pycodestyle.py
+++ b/pycodestyle.py
@@ -933,7 +933,9 @@ def missing_whitespace_around_operator(logical_line, tokens):
# ^
# def f(a, b, /):
# ^
- prev_text == '/' and text in {',', ')'} or
+ # f = lambda a, /:
+ # ^
+ prev_text == '/' and text in {',', ')', ':'} or
# def f(a, b, /):
# ^
prev_text == ')' and text == ':'