Switch to pre-commit for rstcheck 93/81993/4
authorThanh Ha <zxiiro@gmail.com>
Sat, 11 May 2019 00:57:28 +0000 (20:57 -0400)
committerThanh Ha <zxiiro@gmail.com>
Fri, 15 Nov 2019 17:18:04 +0000 (12:18 -0500)
Change-Id: Ic418c166691bc831cd4c310c657dbd8555f58f93
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
.coafile
.pre-commit-config.yaml

index af63ba1eb80a9939cdce7cd366af7706a1b13158..5b849f5614a1034273a6a9988f22933636f4f450 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -1,8 +1,3 @@
-[reStructuredText]
-bears = RSTcheckBear
-files = **.rst
-ignore = .**
-
 [Python]
 bears = PEP8Bear
 files = **/*.py
index 91ee655f9f6c76c0c17112bfc016840cb53be235..b726c5a88169e47599bc45f210ad901fd95a7410 100644 (file)
@@ -9,3 +9,12 @@
   rev: v0.11.0
   hooks:
   - id: gitlint
+
+- repo: local
+  hooks:
+    - id: rstcheck
+      name: rstcheck
+      entry: rstcheck
+      files: '\.rst'
+      language: python
+      additional_dependencies: [rstcheck, sphinx]