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 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)") ``` 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