Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"]
Expand All @@ -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

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
```
Expand Down
1 change: 1 addition & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down