From: SONOLET Aymeric Date: Wed, 20 Dec 2023 07:41:06 +0000 (+0100) Subject: format: Add rst check hook X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9ef67edd5a251204d71c04eb2a8cac8c842b4a68;p=modules%2Fshaper.git format: Add rst check hook --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fd3a9ace4..2b2bedf9b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,10 +43,6 @@ repos: hooks: - id: shellcheck args: [--severity=warning] - # - repo: https://github.com/rstcheck/rstcheck - # rev: v6.2.0 # Use the sha / tag you want to point at - # hooks: - # - id: rstcheck - repo: https://github.com/adrienverge/yamllint.git rev: v1.21.0 # or higher tag hooks: @@ -56,3 +52,13 @@ repos: rev: 0.2.1 # or other specific tag hooks: - id: yamlfmt + - repo: https://github.com/pre-commit/pygrep-hooks + rev: v1.10.0 # Use the ref you want to point at + hooks: + - id: rst-backticks + - id: rst-directive-colons + - id: rst-inline-touching-normal + # - repo: https://github.com/rstcheck/rstcheck + # rev: v6.2.0 # Use the sha / tag you want to point at + # hooks: + # - id: rstcheck