Lint: Enable pre-commit default role checks (#3415)
This commit is contained in:
parent
d285b1ae1d
commit
678bc9b8d3
|
@ -79,15 +79,15 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: rst-backticks
|
- id: rst-backticks
|
||||||
name: "Check RST: No single backticks"
|
name: "Check RST: No single backticks"
|
||||||
files: '^pep-\d\.txt|\.rst$'
|
files: '^pep-\d+\.(rst|txt)$'
|
||||||
types: [text]
|
types: [text]
|
||||||
- id: rst-inline-touching-normal
|
- id: rst-inline-touching-normal
|
||||||
name: "Check RST: No backticks touching text"
|
name: "Check RST: No backticks touching text"
|
||||||
files: '^pep-\d+\.txt|\.rst$'
|
files: '^pep-\d+\.(rst|txt)$'
|
||||||
types: [text]
|
types: [text]
|
||||||
- id: rst-directive-colons
|
- id: rst-directive-colons
|
||||||
name: "Check RST: 2 colons after directives"
|
name: "Check RST: 2 colons after directives"
|
||||||
files: '^pep-\d+\.txt|\.rst$'
|
files: '^pep-\d+\.(rst|txt)$'
|
||||||
types: [text]
|
types: [text]
|
||||||
|
|
||||||
# Manual codespell check
|
# Manual codespell check
|
||||||
|
|
Loading…
Reference in New Issue