From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6HxZFI83TmczjAAAqHPOHw:P1 (envelope-from ) for ; Mon, 02 Dec 2024 22:41:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6HxZFI83TmczjAAAqHPOHw (envelope-from ) for ; Mon, 02 Dec 2024 23:41:19 +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=DzNjLztp; 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=1733179279; a=rsa-sha256; cv=none; b=aC+z/zHUg7LUcDji76BYCh5L1xnEGhhEP6EHLBY3DmVxO3FMBvoBmBOejJTacgBzvMl8l6 Cqgj8SrfJEbj6h8/th4x9Ou515hwCaFwk3dtV89d+syQyQB4M/oDiRmz54rLXcmHaq6C4n gAWdcqwoMkj5//zExVjE9osNfLnWtcqQlXpemp9tOF3d6O4JofTYGjlIhpuQkNEax0yAa+ U5fKiO85sznE6rd73kvu9Grevz2R3XwRAUfFG8j9xyyx3qqh3/z2gPcQsKn8Q4m/o0rl2w fcQAWh1A36FPIlsF7wxZTMKyxdNtyewZ4gMIUpgMIcac3duD3FgKiiAWkPxTuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=DzNjLztp; 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=1733179279; 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=Yw0EchiJR0IqRtv8ZX7IUI5siHPTZfwt20JRkuXZZGk=; b=NXokwy2CyfXWNvPWE5u+MvIjSdzbVD2NMI1k+5rPaSL+HGRx37QN5j3c312BdU4oNL5D8J HaM7txRpoDo+OkPXtwaGvrM6wLqv1Bmyg6jyHgsfY/erdfeJeDn4du3+O88HdHVvWkLtV1 BzszLlVB4n95Ets/ieM1oAdJHrt8GzjeOTt4m5rLuaxpfyuWQEfZPhChxNojdL8wgLlUC5 qMb+C4mIG127HPyRdqzffEklkSn7W1FDj5Qtci4/KnXjG0W4o4An28gtjuZhxk+vvB5jin Ja2k3zINSkUP+KjMGIf2tR+sMXx3KvFX6UwRtaJqBKKDCC6m3aJfblUpH5e2qQ== 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 0E3AB31D7E for ; Mon, 02 Dec 2024 23:41:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIF6J-00083l-62; Mon, 02 Dec 2024 17:41: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 1tIF6F-00083U-7O for guix-patches@gnu.org; Mon, 02 Dec 2024 17:41:05 -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 1tIF6E-0006zX-Tq for guix-patches@gnu.org; Mon, 02 Dec 2024 17:41: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=Yw0EchiJR0IqRtv8ZX7IUI5siHPTZfwt20JRkuXZZGk=; b=DzNjLztpj5dD3rMDZnqCtHF7HHnJOpUjRwnHyWX06DBfUWJtQi+gqg9kRbiKogsTurA8EnXBvQmAlEztdGDOc3DUSS8WTOx43YBl6LpTTbJ3IH2IFptxULuHw5id8ui6rbivvoouPoi3PMzuE81wvgT8PAWST0BumH9/GxF85MCiFZsXOrNmGfjV3xGyr2lYSLM3AKUVFz8v1ndkK7ntVe6mweEd1S73ULyedFdD634ApuHGB4VOcwrqmCBajN2DhEpiLYv5JbnJLEvs2e3jC2kX0+Zw7bcgiR24Q2VfdK1nbmRMty6JMYZtGAXpanpDvUAddWLiBA0UzndlVRhmzQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIF6E-0004I4-Mb for guix-patches@gnu.org; Mon, 02 Dec 2024 17:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74459] [PATCH v2 7/7] guix: lint: More abbreviations. References: In-Reply-To: Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Dec 2024 22:41:02 +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.173317925216466 (code B ref 74459); Mon, 02 Dec 2024 22:41:02 +0000 Received: (at 74459) by debbugs.gnu.org; 2 Dec 2024 22:40:52 +0000 Received: from localhost ([127.0.0.1]:56892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIF63-0004HW-Nt for submit@debbugs.gnu.org; Mon, 02 Dec 2024 17:40:52 -0500 Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:40841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIF61-0004HF-BG for 74459@debbugs.gnu.org; Mon, 02 Dec 2024 17:40:49 -0500 Received: from localhost (antispam.ee.ethz.ch [129.132.2.16]) by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id DB4861FFFF for <74459@debbugs.gnu.org>; Mon, 2 Dec 2024 23:40:43 +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 ZQdvLZoFlGiA for <74459@debbugs.gnu.org>; Mon, 2 Dec 2024 23:40:38 +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>; Mon, 2 Dec 2024 23:40:38 +0100 (CET) Date: Mon, 2 Dec 2024 23:40:35 +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-Spam-Score: -2.71 X-Spam-Score: -2.71 X-Migadu-Queue-Id: 0E3AB31D7E X-Migadu-Scanner: mx12.migadu.com X-TUID: lJr58FDMTHMN * 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 1c8be911eb..1ea43df6b3 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -473,7 +473,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