From d343450f0c531c2d233e7c4c7514c5dab0823d14 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 8 Sep 2026 11:03:40 -0300 Subject: [PATCH 1/3] update and let ruff handle docs --- .pre-commit-config.yaml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd707c2..57ea905 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,11 +13,6 @@ repos: - id: file-contents-sorter files: requirements-dev.txt -- repo: https://github.com/keewis/blackdoc - rev: v0.4.6 - hooks: - - id: blackdoc - - repo: https://github.com/econchick/interrogate rev: 1.7.0 hooks: @@ -33,13 +28,8 @@ repos: args: - --ignore-words-list=pres,nd,te,afe,ue,wil,tey,te,ot,fo -- repo: https://github.com/asottile/add-trailing-comma - rev: v4.0.0 - hooks: - - id: add-trailing-comma - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.1 + rev: v0.16.6 hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -62,12 +52,12 @@ repos: - id: nb-strip-paths - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.26.0 + rev: v2.29.3 hooks: - id: pyproject-fmt - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.29.0 + rev: v1.30.0 hooks: - id: zizmor From 9c0d43ae1707e095abcd4867dd41b9bac88a16bb Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 8 Sep 2026 11:03:49 -0300 Subject: [PATCH 2/3] fix lints --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 65e0091..f460770 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,7 @@ temperature.remove_above_water().despike().lp_filter().press_check().interpolate method="index", limit_direction="both", limit_area="inside" ).bindata(delta=1, method="interpolate").smooth( window_len=21, window="hanning" -).plot_cast( - ax=ax -) +).plot_cast(ax=ax) ax.set_ylabel("Pressure (dbar)") ax.set_xlabel("Temperature (°C)") ``` From 461e3591f4f9d11ffa3192f03176bb9ec0e32007 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 8 Sep 2026 11:04:06 -0300 Subject: [PATCH 3/3] do not use conflicting COM812 --- ruff.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/ruff.toml b/ruff.toml index acaaf54..408de2e 100644 --- a/ruff.toml +++ b/ruff.toml @@ -3,6 +3,7 @@ line-length = 80 lint.select = ["ALL"] lint.ignore = [ + "COM812", # missing-trailing-comma "CPY001", # Missing copyright notice at top of file "D203", # 1 blank line required before class docstring "D205", # 1 blank line required between summary line and description