Skip to content

Commit 7ab3685

Browse files
committed
lints
1 parent 999f3ea commit 7ab3685

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ctd/read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def from_edf(fname: str | Path) -> pd.DataFrame: # noqa: C901, PLR0912
369369
else:
370370
header.append(line)
371371
if line.startswith("Field"):
372-
col, unit = (ln.strip().casefold() for ln in line.split(":"))
372+
_, unit = (ln.strip().casefold() for ln in line.split(":"))
373373
names.append(unit.split()[0])
374374
if line == "// Data":
375375
skiprows = k + 1

tests/test_processing_real_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_press_check_real_data(spiked_ctd):
5454

5555
def test_processing_chain_spiked_ctd(spiked_ctd):
5656
"""Test all processing steps chained."""
57-
down, up = spiked_ctd.remove_above_water().split()
57+
down, _ = spiked_ctd.remove_above_water().split()
5858
temp = down["t090C"] # despike is a series only method
5959
temp = (
6060
temp.despike()

0 commit comments

Comments
 (0)