From 7bb170e5bc27ce730e54bc8e668fe991240e4dc9 Mon Sep 17 00:00:00 2001 From: MeGaGiGaGon <107241144+megagigagon@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:43:42 -0700 Subject: [PATCH] typo fix --- src/black/trans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/black/trans.py b/src/black/trans.py index 81e2ac35785..55c72ac0d08 100644 --- a/src/black/trans.py +++ b/src/black/trans.py @@ -806,7 +806,7 @@ def _validate_msg(line: Line, string_idx: int) -> TResult[None]: - The set of all string prefixes in the string group is of length greater than one and is not equal to {"", "f"}. - The string group consists of raw strings. - - The string group would merge f-strings with different quote tyes. + - The string group would merge f-strings with different quote types. - The string group is stringified type annotations. We don't want to process stringified type annotations since pyright doesn't support them spanning multiple string values. (NOTE: mypy, pytype, pyre do