We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 60c9247 + c45812e commit 2e01db1Copy full SHA for 2e01db1
.pre-commit-config.yaml
@@ -102,6 +102,14 @@ repos:
102
)
103
$
104
files: ^changelog/
105
+ - id: changelogs-user-role
106
+ name: Changelog files should use a non-broken :user:`name` role
107
+ language: pygrep
108
+ entry: :user:([^`]+`?|`[^`]+[\s,])
109
+ pass_filenames: true
110
+ types:
111
+ - file
112
+ - rst
113
- id: py-deprecated
114
name: py library is deprecated
115
language: pygrep
changelog/12562.contrib.rst
@@ -0,0 +1,2 @@
1
+Possible typos in using the ``:user:`` RST role is now being linted
2
+through the pre-commit tool integration -- by :user:`webknjaz`.
0 commit comments