Skip to content

Commit 5247a80

Browse files
committed
precommit: use RST check
1 parent 484b4f6 commit 5247a80

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@ repos:
3131
hooks:
3232
- id: pyupgrade
3333
args: [--py37-plus]
34-
- repo: local
34+
- repo: https://github.com/rstcheck/rstcheck
35+
rev: v6.2.0
3536
hooks:
36-
- id: rst
37-
name: rst
38-
entry: rst-lint --encoding utf-8
39-
files: ^(CHANGES.rst|README.rst)$
40-
language: python
41-
additional_dependencies: [pygments, restructuredtext_lint]
37+
- id: rstcheck
38+
additional_dependencies: [ ] # can be omitted if empty

0 commit comments

Comments
 (0)