Skip to content

Commit

Permalink
docs: Verify RST syntax via a pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Nov 26, 2020
1 parent b722986 commit a9d1bee
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 170 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ repos:
hooks:
- id: flake8
exclude: ^docs

- repo: https://github.com/myint/rstcheck
rev: master
hooks:
- id: rstcheck
additional_dependencies:
- sphinx==3.1.2
args: [--ignore-directives=code]

0 comments on commit a9d1bee

Please sign in to comment.