From 431e5f5a3ea1da2a0e1c58990d3c8f2860dbe7d0 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 7 Nov 2014 17:32:56 +0100 Subject: lint: Tolerate sentences that start with a parenthesis or a quote. * guix/scripts/lint.scm (properly-starts-sentence?): Add (, ", and ' as valid beginnings. --- guix/scripts/lint.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/scripts/lint.scm') diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm index 35ab9aaf69..d6bfffda13 100644 --- a/guix/scripts/lint.scm +++ b/guix/scripts/lint.scm @@ -77,7 +77,7 @@ (define (list-checkers-and-exit) (exit 0)) (define (properly-starts-sentence? s) - (string-match "^[[:upper:][:digit:]]" s)) + (string-match "^[(\"'[:upper:][:digit:]]" s)) (define (check-description-style package) ;; Emit a warning if stylistic issues are found in the description of PACKAGE. -- cgit v1.2.3