From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ELBuF8gwP2fLNgEAe85BDQ:P1 (envelope-from ) for ; Thu, 21 Nov 2024 13:08:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ELBuF8gwP2fLNgEAe85BDQ (envelope-from ) for ; Thu, 21 Nov 2024 14:08:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vUJAA6f1; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732194504; a=rsa-sha256; cv=none; b=mHkO4fO+zVwEs4TkXMmo5cof2EsmgRpJJxiOlXQmP8R9czxKNF9lkuZClh3Ga7Uuq+M77N 8enLkz9tYgP7sgGYFJ0K6tKn5YBYD/jBg3Gr7R2wlS2kr+W0lpUA4Fcjd4aT0JbVo/V78G SeHmhThLkmcCzZXc2+/NcqgYhdxjey47tIJpd2E75Tw3IrHuG6p6WK+McYJYeGTtuaR0zs pBKbuGSljrLo+SFlWur3wZG/50HN6jveFh61ZWYeXAcxH7viscJnPYBuPhGBzmKxuyK0Uq yp9aUdabV9hm3s/pM1OaLqSNrgworAnh6PT5dP6vo8Hzx3z/9JjdaY6dPc7VEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vUJAA6f1; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732194504; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ucm0LeY/sjvIMdajnOCFt2bdYJJ9qsVdj5lgoNre1m0=; b=kdN5ip0ALcFi2pSAkvauHtAB+Bxb34sdZvsttxJE0C8K49p2XI2M1eK0vFa7Vb2k3SzD8R F46ujk6DDV1ZoC7FtucJWDw7JEWN+2D2qJWj2wNY7Autv5o0CWlRBZwRoeyu/X4eLrLcVV QYaBuND+CPCGrcjxPITIPgdr4EACo6ZsnwL1E8BViD0PKR450ykorov1M5sBM/JPW1pnKF hoemPqoygrPNyksQSInY7P+avEfj8JufYatj0OmfNbhaLG1rMV1Qw0xL/qTjZgpjrDx57q Gtmb6+i95yNQec6XaA15T38oRkWxaTwCV3uQzJ9NSkMlHMyW9nRKQLPuw5zbGA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C036DDD9 for ; Thu, 21 Nov 2024 14:08:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tE6dL-0005Ku-4E; Thu, 21 Nov 2024 07:50:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tE6dG-0005I5-Eq for guix-patches@gnu.org; Thu, 21 Nov 2024 07:50:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tE6dG-0007Tb-0P for guix-patches@gnu.org; Thu, 21 Nov 2024 07:50:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:In-Reply-To:References:Subject; bh=ucm0LeY/sjvIMdajnOCFt2bdYJJ9qsVdj5lgoNre1m0=; b=vUJAA6f1eNFY7uqzY0tk1MA6FAwa/nBzvUD7p0Q1+IXtORyId1XwDYmnS22LwhiqJzIB20RvZXS5fBhIjwKageMLf5IWP0Cl/RMmYJrcfbfUbskF+tKgmj7tS9LmwOyMYRFDwfnnseYdqW9HE7H4Nz2OoyArm1/qhM0V2Jq+jVPY+WJLeYN6XhzERZrNTBB3mVO2VaEpeQRPkiPrvoVXeF3Jk0jUtizZKibf/19SarEhV2ebHEEzZ/UY+dbObHoMmpDfZO3OtBABWL78Pf7vFeAUSCRHRejUeZKrtNOSBN/UbMEETBbs2tc5DoOo0Knj1J1OZnGjxN9D5JqKoNHf2Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tE6dF-0000ie-Pq for guix-patches@gnu.org; Thu, 21 Nov 2024 07:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74459] [PATCH 7/8] guix: lint: More abbreviations. References: In-Reply-To: Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Nov 2024 12:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74459@debbugs.gnu.org Received: via spool by 74459-submit@debbugs.gnu.org id=B74459.17321933902735 (code B ref 74459); Thu, 21 Nov 2024 12:50:01 +0000 Received: (at 74459) by debbugs.gnu.org; 21 Nov 2024 12:49:50 +0000 Received: from localhost ([127.0.0.1]:49464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE6d3-0000i2-OE for submit@debbugs.gnu.org; Thu, 21 Nov 2024 07:49:50 -0500 Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:49739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE6d1-0000hp-0U for 74459@debbugs.gnu.org; Thu, 21 Nov 2024 07:49:47 -0500 Received: from localhost (antispam.ee.ethz.ch [129.132.2.16]) by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id 8CBE820026 for <74459@debbugs.gnu.org>; Thu, 21 Nov 2024 13:49:41 +0100 (CET) X-Virus-Scanned: by amavisd at antispam.ee.ethz.ch Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]) by localhost (antispam.ee.ethz.ch [129.132.2.16]) (amavisd-new, port 10028) with ESMTP id D_6DNamhP_ec for <74459@debbugs.gnu.org>; Thu, 21 Nov 2024 13:49:40 +0100 (CET) Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by cotopaxi.ee.ethz.ch (Postfix) with ESMTPSA for <74459@debbugs.gnu.org>; Thu, 21 Nov 2024 13:49:40 +0100 (CET) Date: Thu, 21 Nov 2024 13:49:37 +0100 From: Gabriel Wicki Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: C036DDD9 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.64 X-Spam-Score: -5.64 X-TUID: PYJTkMab03Yh * guix/lint.scm: Allow more common abbreviations in double-space-after sentence check. * tests/lint.scm: Add tests. Change-Id: I0eedf73e5fcd0a8c67b3ae3dfa979a57fe0f6253 --- guix/lint.scm | 2 +- tests/lint.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/lint.scm b/guix/lint.scm index f2e8e95e61..b1c8834c5f 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -470,7 +470,7 @@ (define (check-description-style package) (string-match "[A-Z]$" pre) ;; Initial found (find (lambda (s) (string-suffix-ci? s pre)) - '("i.e" "e.g" "a.k.a" "resp"))) + '("i.e" "e.g" "a.k.a" "resp" "cf" "al"))) r (cons (match:start m) r)))))))) (if (null? infractions) diff --git a/tests/lint.scm b/tests/lint.scm index 09be160f5d..3e9dbd29db 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -173,7 +173,7 @@ (define (warning-contains? str warnings) '() (let ((pkg (dummy-package "x" (description - "E.g. Foo, i.e. Bar resp. Baz (a.k.a. DVD). Name O. Person")))) + "O. Person e.g. Foo, i.e. Bar resp. Baz (a.k.a. DVD). Name et al. cf. some paper.")))) (check-description-style pkg))) (test-equal "description: may not contain trademark signs: ™" -- 2.46.0