]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
format: Add rst check hook
authorSONOLET Aymeric <aymeric.sonolet@cea.fr>
Wed, 20 Dec 2023 07:41:06 +0000 (08:41 +0100)
committerSONOLET Aymeric <aymeric.sonolet@cea.fr>
Wed, 20 Dec 2023 07:41:06 +0000 (08:41 +0100)
.pre-commit-config.yaml

index fd3a9ace4812b15c5570127295933a5a81faba9c..2b2bedf9bbeca3715fc1add1f99f2c3ba498195f 100644 (file)
@@ -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