mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
lint: Allow texinfo markup at beginning of synopsis.
* guix/lint.scm(check-synopsis-style)[check-proper-start]: Add condition. * tests/lint.scm: Add test case. Change-Id: I2509b3a4e7e51c6a274697ceb5f776c22e27c5f9 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
f28c32089d
commit
687f4e22e6
2 changed files with 8 additions and 1 deletions
|
@ -743,7 +743,8 @@ the synopsis")
|
|||
'()))
|
||||
|
||||
(define (check-proper-start synopsis)
|
||||
(if (properly-starts-sentence? synopsis)
|
||||
(if (or (properly-starts-sentence? synopsis)
|
||||
(starts-with-texinfo-markup? synopsis))
|
||||
'()
|
||||
(list
|
||||
(make-warning package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue