Code Review
/
integration
/
test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
795c04a
)
Switch to pre-commit for rstcheck
93/81993/4
author
Thanh Ha
<zxiiro@gmail.com>
Sat, 11 May 2019 00:57:28 +0000
(20:57 -0400)
committer
Thanh 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
patch
|
blob
|
history
.pre-commit-config.yaml
patch
|
blob
|
history
diff --git
a/.coafile
b/.coafile
index af63ba1eb80a9939cdce7cd366af7706a1b13158..5b849f5614a1034273a6a9988f22933636f4f450 100644
(file)
--- a/
.coafile
+++ b/
.coafile
@@
-1,8
+1,3
@@
-[reStructuredText]
-bears = RSTcheckBear
-files = **.rst
-ignore = .**
-
[Python]
bears = PEP8Bear
files = **/*.py
diff --git
a/.pre-commit-config.yaml
b/.pre-commit-config.yaml
index 91ee655f9f6c76c0c17112bfc016840cb53be235..b726c5a88169e47599bc45f210ad901fd95a7410 100644
(file)
--- a/
.pre-commit-config.yaml
+++ b/
.pre-commit-config.yaml
@@
-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]