style: apply ruff-format to entire codebase

First-time run of ruff-format via pre-commit hook normalises quote
style, trailing commas, and whitespace across 188 Python files.
No logic changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
James Smith
2026-07-05 14:48:11 +01:00
parent 82e64104fe
commit 96172ca593
189 changed files with 19883 additions and 19552 deletions
+10 -11
View File
@@ -10,21 +10,21 @@ def _dummy_rtlsdr_device() -> SDRDevice:
return SDRDevice(
sdr_type=SDRType.RTL_SDR,
index=0,
name='RTL-SDR',
serial='00000001',
driver='rtlsdr',
name="RTL-SDR",
serial="00000001",
driver="rtlsdr",
capabilities=RTLSDRCommandBuilder.CAPABILITIES,
)
def test_rtl_fm_modulation_maps_wfm_to_wbfm() -> None:
assert listening_post_rtl_mode('wfm') == 'wbfm'
assert builder_rtl_mode('wfm') == 'wbfm'
assert listening_post_rtl_mode("wfm") == "wbfm"
assert builder_rtl_mode("wfm") == "wbfm"
def test_rtl_fm_modulation_keeps_other_modes() -> None:
assert listening_post_rtl_mode('fm') == 'fm'
assert builder_rtl_mode('am') == 'am'
assert listening_post_rtl_mode("fm") == "fm"
assert builder_rtl_mode("am") == "am"
def test_rtlsdr_builder_uses_wbfm_token_for_wfm() -> None:
@@ -32,8 +32,7 @@ def test_rtlsdr_builder_uses_wbfm_token_for_wfm() -> None:
cmd = builder.build_fm_demod_command(
device=_dummy_rtlsdr_device(),
frequency_mhz=98.1,
modulation='wfm',
modulation="wfm",
)
mode_index = cmd.index('-M')
assert cmd[mode_index + 1] == 'wbfm'
mode_index = cmd.index("-M")
assert cmd[mode_index + 1] == "wbfm"