File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : v0.14.8
3+ rev : v0.16.5
44 hooks :
55 - id : ruff-check
66 args : [--fix]
@@ -12,8 +12,26 @@ repos:
1212 - id : check-added-large-files
1313 - id : check-merge-conflict
1414 - id : check-yaml
15+ exclude : ^conda-recipe/meta\.yaml$
1516 - id : check-toml
16- - id : end-of-file-fixer
17- - id : trailing-whitespace
1817 - id : check-case-conflict
1918 - id : check-ast
19+ - id : end-of-file-fixer
20+ - id : trailing-whitespace
21+
22+ - repo : https://github.com/rstcheck/rstcheck
23+ rev : v6.3.0
24+ hooks :
25+ - id : rstcheck
26+ name : rstcheck (docstrings only)
27+ files : \.py$
28+ args : ["--report-level", "warning"]
29+
30+ - repo : local
31+ hooks :
32+ - id : sphinx-docs
33+ name : sphinx-build (pre-push, warnings as errors)
34+ entry : bash -lc 'make -C docs clean && make -C docs html SPHINXOPTS="-W --keep-going"'
35+ language : system
36+ pass_filenames : false
37+ stages : [pre-push]
You can’t perform that action at this time.
0 commit comments