Skip to content

Commit

Permalink
project: Fix f-string (UP032)
Browse files Browse the repository at this point in the history
Derived from pyupgrade, see
https://docs.astral.sh/ruff/rules/f-string/

Signed-off-by: Pieter De Gendt <[email protected]>
  • Loading branch information
pdgendt committed Nov 4, 2024
1 parent bc2f009 commit 2f220f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3162,15 +3162,15 @@ def setup_project(name, group_filter):
# 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')
Expand Down

0 comments on commit 2f220f7

Please sign in to comment.