On Fri, Sep 27, 2024 at 8:57 PM Vincent Fazio <vfazio@xxxxxxxxxxx> wrote: > > Dataclasses are not migrated to f-strings so readability isn't impacted. Could you add some details on what f-strings are and why they're preferred? > > def __str__(self) -> str: > - return '<LineInfo offset={} name="{}" used={} consumer="{}" direction={} active_low={} bias={} drive={} edge_detection={} event_clock={} debounced={} debounce_period={}>'.format( > + return '<LineInfo offset={} name="{}" used={} consumer="{}" direction={} active_low={} bias={} drive={} edge_detection={} event_clock={} debounced={} debounce_period={}>'.format( # noqa: UP032 I guess the comment tells the analyzers to ignore this? Maybe mention that too in the commit message? Bart