You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Internal error is thrown parsing a multi-line docstring which includes a tab. This issue appears to be a regression upgrading between black 19.10b0 and 20.8b1.
To Reproduce
def tab_internal_error():
"""
Param: <- tab before description fails to parse
"""
pass
INTERNAL ERROR: Black produced code that is not equivalent to the source.
Describe the bug
Internal error is thrown parsing a multi-line docstring which includes a tab. This issue appears to be a regression upgrading between black 19.10b0 and 20.8b1.
To Reproduce
INTERNAL ERROR: Black produced code that is not equivalent to the source.
Expected behavior
n/a
Environment
Ubuntu 20.04.1 LTS
Python 3.8.6
black==20.8b1
Does this bug also happen on master?
Yes reproducible from the minimal viable example on the master black playground
Additional context
Thanks to all involved in the project. Black has materially improved the quality of our code and is a core part of our CI/CD.
The text was updated successfully, but these errors were encountered: