Merge pull request #12562 from webknjaz/maintenance/docs/user-role-validation

This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко) 2024-07-02 20:52:05 +02:00 committed by GitHub
commit e8aee21384
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -102,6 +102,14 @@ repos:
)
$
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
name: py library is deprecated
language: pygrep

View File

@ -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`.