X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/67eaf2466596394d5765ba4026d34e7b822814ab..062b54931dc3ea35f673e755893fe28ff1f5a889:/src/black/mode.py diff --git a/src/black/mode.py b/src/black/mode.py index 455ed36..35a072c 100644 --- a/src/black/mode.py +++ b/src/black/mode.py @@ -127,7 +127,6 @@ class Preview(Enum): """Individual preview style features.""" string_processing = auto() - hug_simple_powers = auto() class Deprecated(UserWarning): @@ -163,7 +162,9 @@ class Mode: """ if feature is Preview.string_processing: return self.preview or self.experimental_string_processing - return self.preview + # TODO: Remove type ignore comment once preview contains more features + # than just ESP + return self.preview # type: ignore def get_cache_key(self) -> str: if self.target_versions: