Apply ruff format to code merged from PR #251/#275

PR #251 and PR #275 predate this repo's ruff-format adoption on those
files; running the formatter (single->double quotes, line wrapping,
trailing-comma cleanup) keeps the merged code consistent with the rest
of the codebase. No behavior change.
This commit is contained in:
Marc Billow committed 2026-08-08 21:24:02 +00:00
1 parent 68dee12eb4
commit 8ed3d1467f
10 files changed
+222 -136

No files matched your search

+1 -3
View File
@@ -49,6 +49,4 @@ def test_display_passes_through_non_string_values():
def test_display_uses_fallback_when_translation_has_no_state_table():
assert _display('69', 'cycle', lambda value: f'Unknown (0x{value})') == (
'Unknown (0x69)'
)
assert _display("69", "cycle", lambda value: f"Unknown (0x{value})") == ("Unknown (0x69)")