Skip to content

Commit ac7b335

Browse files
authored
Merge pull request #172 from ecmwf-actions/anemoi-sync/add-precommit-docconvert
Add pre-commit-docconvert
2 parents 0390b32 + 43e59e8 commit ac7b335

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sync-files/anemoi/all/.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
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:

0 commit comments

Comments
 (0)