Use upstream rst-backticks hook
This commit is contained in:
parent
3f3f6f1be4
commit
8d401cdb9d
|
@ -25,6 +25,10 @@ repos:
|
||||||
rev: v1.2.0
|
rev: v1.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||||
|
rev: v1.0.0
|
||||||
|
hooks:
|
||||||
|
- id: rst-backticks
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: rst
|
- id: rst
|
||||||
|
@ -34,8 +38,3 @@ repos:
|
||||||
language: python
|
language: python
|
||||||
additional_dependencies: [pygments, restructuredtext_lint]
|
additional_dependencies: [pygments, restructuredtext_lint]
|
||||||
python_version: python3.6
|
python_version: python3.6
|
||||||
- id: rst-backticks
|
|
||||||
name: rst ``code`` is two backticks
|
|
||||||
entry: ' `[^`]+[^_]`([^_]|$)'
|
|
||||||
language: pygrep
|
|
||||||
types: [rst]
|
|
||||||
|
|
Loading…
Reference in New Issue