From 2541264e6d99c0ea570df95be68ad7cad6be7c73 Mon Sep 17 00:00:00 2001 From: Tom Fryers Date: Mon, 21 Feb 2022 18:53:56 +0000 Subject: [PATCH] Revert "Pretend to be in preview mode for diff-shades" This reverts commit 3895c4d5d16fedfcbc26ed123043e572a9c5de72. --- src/black/strings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/black/strings.py b/src/black/strings.py index b21045615e1..427d9ddf5f6 100644 --- a/src/black/strings.py +++ b/src/black/strings.py @@ -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)