Skip to content

Commit d900a6c

Browse files
authored
Merge pull request #3731 from asottile/pygrep_hooks
Use upstream rst-backticks hook
2 parents 3f3f6f1 + 8d401cd commit d900a6c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ repos:
2525
rev: v1.2.0
2626
hooks:
2727
- id: pyupgrade
28+
- repo: https://github.com/pre-commit/pygrep-hooks
29+
rev: v1.0.0
30+
hooks:
31+
- id: rst-backticks
2832
- repo: local
2933
hooks:
3034
- id: rst
@@ -34,8 +38,3 @@ repos:
3438
language: python
3539
additional_dependencies: [pygments, restructuredtext_lint]
3640
python_version: python3.6
37-
- id: rst-backticks
38-
name: rst ``code`` is two backticks
39-
entry: ' `[^`]+[^_]`([^_]|$)'
40-
language: pygrep
41-
types: [rst]

0 commit comments

Comments
 (0)