From 9d86ff76e25b518130262565ef14e1062a980d49 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Mon, 22 Feb 2021 23:07:59 -0600 Subject: [PATCH] Correct type from text to rst for rst-directive-colons hook --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index f355a57..eab6eed 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -58,7 +58,7 @@ description: 'Detect mistake of rst directive not ending with double colon' entry: '^\s*\.\. [a-z]+:$' language: pygrep - types: [text] + types: [rst] - id: rst-inline-touching-normal name: rst ``inline code`` next to normal text description: 'Detect mistake of inline code touching normal text in rst'