X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/ef6e079901d53a42dfae4ab10b081ce7a73a47b5..3da73399552b17b70f59d23d32f2347d9a551188:/src/black/lines.py?ds=inline diff --git a/src/black/lines.py b/src/black/lines.py index bf4c12c..9d33bfa 100644 --- a/src/black/lines.py +++ b/src/black/lines.py @@ -790,7 +790,7 @@ def is_line_short_enough( # noqa: C901 # store the leaves that contain parts of the MLS multiline_string_contexts: List[LN] = [] - max_level_to_update = math.inf # track the depth of the MLS + max_level_to_update: Union[int, float] = math.inf # track the depth of the MLS for i, leaf in enumerate(line.leaves): if max_level_to_update == math.inf: had_comma: Optional[int] = None