Skip to content

Commit

Permalink
Merge pull request #136 from stefmolin/numpydoc-hook
Browse files Browse the repository at this point in the history
Update pre-commit hook configuration
  • Loading branch information
stefmolin authored Aug 17, 2023
2 parents f8f9151 + 4a41320 commit c91113a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,33 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.5
hooks:
- id: codespell
additional_dependencies:
- tomli

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.262
rev: v0.0.284
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black

- repo: https://github.com/adamchainz/blacken-docs
rev: 1.13.0
rev: 1.16.0
hooks:
- id: blacken-docs
args: [--skip-string-normalization]
additional_dependencies:
- black

- repo: https://github.com/stefmolin/numpydoc
rev: 6a1a606
- repo: https://github.com/numpy/numpydoc
rev: v1.6.0rc1
hooks:
- id: numpydoc-validation
exclude: (tests/|docs/).*
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ dev = [
]
docs = [
"pydata-sphinx-theme>=0.13.1",
"sphinx>=6.1.3",
"sphinx>=6.1.3,<7.2",
"sphinx-argparse>=0.4.0",
"sphinx_copybutton>=0.5.1",
]
Expand Down

0 comments on commit c91113a

Please sign in to comment.