MCPcopy
hub / github.com/psf/black / _maybe_normalize_string_quotes

Method _maybe_normalize_string_quotes

src/black/trans.py:1884–1886  ·  view source on GitHub ↗
(self, leaf: Leaf)

Source from the content-addressed store, hash-verified

1882 return break_idx
1883
1884 def _maybe_normalize_string_quotes(self, leaf: Leaf) -> None:
1885 if self.normalize_strings:
1886 leaf.value = normalize_string_quotes(leaf.value)
1887
1888 def _normalize_f_string(self, string: str, prefix: str) -> str:
1889 """

Callers 1

do_transformMethod · 0.95

Calls 1

normalize_string_quotesFunction · 0.90

Tested by

no test coverage detected