Skip to content

Commit 803c4c1

Browse files
ci/cd: Add pre-commit-docconvert
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 57a53fc commit 803c4c1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ repos:
5959
hooks:
6060
- id: rstfmt
6161
exclude: '(cli|schemas)/.*' # Because we use argparse and pydantic sphinx directives
62+
- repo: https://github.com/b8raoult/pre-commit-docconvert
63+
rev: "0.1.4"
64+
hooks:
65+
- id: docconvert
66+
args: ["numpy"]
6267
- repo: https://github.com/tox-dev/pyproject-fmt
6368
rev: "v2.5.0"
6469
hooks:

src/anemoi/datasets/data/dataset.py

-1
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@ def plot(self, date, variable, member=0, **kwargs) -> "matplotlib.pyplot.Axes":
538538
**kwargs:
539539
Additional arguments to pass to matplotlib.pyplot.tricontourf
540540
541-
542541
Returns
543542
-------
544543
axes : matplotlib.pyplot.Axes

0 commit comments

Comments
 (0)