project: Fix f-string (UP032)

Derived from pyupgrade, see
https://docs.astral.sh/ruff/rules/f-string/

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-11-04 09:33:35 +01:00 committed by Pieter De Gendt
parent 7e28267445
commit 26d92b75c6
1 changed files with 3 additions and 3 deletions

View File

@ -3162,15 +3162,15 @@ def test_group_filter_imports(manifest_repo):
# Schema version 0.9, group-filter is used by an import: warning.
with open(manifest_repo / 'west.yml', 'w') as f:
f.write(textwrap.dedent(
'''\
f'''\
manifest:
version: 0.9
projects:
- name: project1
revision: {}
revision: {sha1}
url: ignored
import: true
'''.format(sha1)))
'''))
m = Manifest.from_file()
assert m.group_filter == []
assert hasattr(m, '_legacy_group_filter_warned')