Skip to content

Commit 85f9ea8

Browse files
committed
ruff check fix new lines trailing in file
1 parent fed1ae1 commit 85f9ea8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎hackrfpy/src/hackrfpy/core.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,4 +792,4 @@ def load_iq(path: str, count: int | None = None,
792792
iq.real = a[0::2]
793793
iq.imag = a[1::2]
794794
iq /= 128.0
795-
return iq
795+
return iq

‎hackrfpy/tests/test_features.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ def test_tx_max_duration_forces_timed(monkeypatch, tmp_path):
128128
lambda argv, **k: seen.update(k) or ("", "", 0))
129129
h.transmit(433.92e6, 8e6, str(src), repeat=True, max_duration=5.0)
130130
assert seen.get("mode") == "timed"
131-
assert seen.get("duration") == 5.0
131+
assert seen.get("duration") == 5.0

‎hackrfpy/tests/test_safety.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,4 @@ def test_verbose_gating_still_holds(caplog):
237237
assert not caplog.records
238238
quiet.set_verbose(True)
239239
quiet.print_message("[*] now visible")
240-
assert any("now visible" in r.message for r in caplog.records)
240+
assert any("now visible" in r.message for r in caplog.records)

0 commit comments

Comments
 (0)