project: Fix unicode-kind-prefix (UP025)
Derived from pyupgrade, see https://docs.astral.sh/ruff/rules/unicode-kind-prefix/ Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
66f25ec5dd
commit
7e28267445
|
@ -1658,7 +1658,7 @@ class Manifest:
|
|||
|
||||
def mls_representer(dumper, data):
|
||||
if '\n' in data:
|
||||
tag = u'tag:yaml.org,2002:str'
|
||||
tag = 'tag:yaml.org,2002:str'
|
||||
return dumper.represent_scalar(tag, data, style="|")
|
||||
else:
|
||||
return dumper.represent_str(data)
|
||||
|
|
Loading…
Reference in New Issue