Skip to content

Commit d4a2771

Browse files
authored
Merge pull request pyoceans#236 from ocefpaf/bump_pre-commits
Bump pre commits
2 parents 6f461e5 + 7ab3685 commit d4a2771

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
files: requirements-dev.txt
1515

1616
- repo: https://github.com/keewis/blackdoc
17-
rev: v0.4.1
17+
rev: v0.4.3
1818
hooks:
1919
- id: blackdoc
2020

@@ -39,7 +39,7 @@ repos:
3939
- id: add-trailing-comma
4040

4141
- repo: https://github.com/astral-sh/ruff-pre-commit
42-
rev: v0.12.11
42+
rev: v0.13.3
4343
hooks:
4444
- id: ruff
4545
args: ["--fix", "--show-fixes"]
@@ -62,12 +62,12 @@ repos:
6262
- id: nb-strip-paths
6363

6464
- repo: https://github.com/tox-dev/pyproject-fmt
65-
rev: v2.6.0
65+
rev: v2.7.0
6666
hooks:
6767
- id: pyproject-fmt
6868

6969
- repo: https://github.com/woodruffw/zizmor-pre-commit
70-
rev: v1.12.1
70+
rev: v1.14.2
7171
hooks:
7272
- id: zizmor
7373

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)