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:
parent
7e28267445
commit
26d92b75c6
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue