Skip to content
Commit 66ee3d29 authored by Martí Bolívar's avatar Martí Bolívar Committed by Anas Nashif
Browse files

dtlib: use f-strings where it makes sense



The library was originally developed before Python 3.6 was the minimum
supported version. Use f-strings now that we can do that, as they tend
to be easier to read.

There are a few places where str.format() makes sense to preserve,
specifically where the same argument is used multiple times; leave
those alone.

Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent a61517b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment