Skip to content

Commit

Permalink
Revert "Pretend to be in preview mode for diff-shades"
Browse files Browse the repository at this point in the history
This reverts commit 3895c4d.
  • Loading branch information
TomFryers committed Feb 21, 2022
1 parent 0802ada commit 2541264
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/black/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def lines_with_leading_tabs_expanded(s: str) -> List[str]:

def fix_docstring(docstring: str, prefix: str, *, preview: bool) -> str:
# https://www.python.org/dev/peps/pep-0257/#handling-docstring-indentation
preview = True
if not docstring:
return ""
lines = lines_with_leading_tabs_expanded(docstring)
Expand Down

0 comments on commit 2541264

Please sign in to comment.