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:
Pieter De Gendt 2024-11-04 09:32:29 +01:00 committed by Pieter De Gendt
parent 66f25ec5dd
commit 7e28267445
1 changed files with 1 additions and 1 deletions

View File

@ -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)