Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a check for broken use of :user: in RST #1990

Merged
merged 3 commits into from
Apr 5, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make the pygrep regex entry an inline YAML value
webknjaz committed Apr 1, 2021

Verified

This commit was signed with the committer’s verified signature.
webknjaz 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
commit ef3110b726e3600fde1b287add8c1a4b63887b20
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -67,7 +67,6 @@ repos:
- id: changelogs-user-role
name: changelog files have a non-broken :user:`name` role
language: pygrep
entry: >-
:user:([^`]+`?|`[^`]+[\s,])
entry: :user:([^`]+`?|`[^`]+[\s,])
pass_filenames: true
types: [file, rst]