Merge pull request #12562 from webknjaz/maintenance/docs/user-role-validation
(cherry picked from commit e8aee21384
)
This commit is contained in:
parent
60c92473af
commit
c45812ed93
|
@ -102,6 +102,14 @@ repos:
|
||||||
)
|
)
|
||||||
$
|
$
|
||||||
files: ^changelog/
|
files: ^changelog/
|
||||||
|
- id: changelogs-user-role
|
||||||
|
name: Changelog files should use a non-broken :user:`name` role
|
||||||
|
language: pygrep
|
||||||
|
entry: :user:([^`]+`?|`[^`]+[\s,])
|
||||||
|
pass_filenames: true
|
||||||
|
types:
|
||||||
|
- file
|
||||||
|
- rst
|
||||||
- id: py-deprecated
|
- id: py-deprecated
|
||||||
name: py library is deprecated
|
name: py library is deprecated
|
||||||
language: pygrep
|
language: pygrep
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
Possible typos in using the ``:user:`` RST role is now being linted
|
||||||
|
through the pre-commit tool integration -- by :user:`webknjaz`.
|
Loading…
Reference in New Issue