diff options
-rwxr-xr-x | pycodestyle.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pycodestyle.py b/pycodestyle.py index ec6b894..0c043fc 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -855,6 +855,10 @@ def missing_whitespace_around_operator(logical_line, tokens): # Tolerate the "<>" operator, even if running Python 3 # Deal with Python 3's annotated return value "->" pass + elif prev_text == '/' and text == ',': + # Tolerate the "/" operator in function definition + # For more info see PEP570source + pass else: if need_space is True or need_space[1]: # A needed trailing space was not found |