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 8Lu+HBcrP2enQgAAe85BDQ:P1 (envelope-from ) for ; Thu, 21 Nov 2024 12:44:07 +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 8Lu+HBcrP2enQgAAe85BDQ (envelope-from ) for ; Thu, 21 Nov 2024 13:44:07 +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=dN9kIDEr; 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=1732193047; a=rsa-sha256; cv=none; b=k08AgvC/pLveFUgmrHJZjHdVuiff/dUs125IqwM99Pc+3h6kpVTOZuCgLvAlbr8K6X5Crz xYjmrimkcVZjT14+v7BY9hbRNMJ5QFpopmd8ddozZQy/5I5AjQyfANwbsnizJFXg8pgTxn NP/VG5a1JFrUlGGUDy/mleIhyqgzBrYRWF/8SC7XRZ/o3Ia99XtBaG6fbvTi8lfOqFadVa 4Wek3MLmayVACVC5jRIuqxjDrPIxURrut6HhDpxIB0laYC+cgEWtzvcCK+s5ODCNiFBXd+ ix8ETEMZxkcq+ncs7nvHA+/W2eZXyXnooWMyf5gKfEx5Mj6JBID3aF5EDf4CKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=dN9kIDEr; 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=1732193047; 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: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=hi6N6/jKwiTrPzpPu/NpTFCJ6lGHg5iLL4LAuGetNzE=; b=CrlCKQTg9IZi/hubk3kIIuVLBejNfufr4zpK2mNeYpUvCMtuKD5MJ0SEiek05wh6m6KmlP VpVW+pTQVN8LVm32GfsGwEfrecL5GrMI2G8iy6CeLfUJI2PxXnccPHt+NPmn1h0EgJyq+9 r8r2bDmf9YdiGINBH6S2uVstc4xI9Us/yp/OJA5K5C9drtlVY1xrNfOwppzIxd1g+8dma/ Cu5844bmyXiR19wNfOawgUb1X0VtnVloQtHHuEHNWho2ixaWgox3y/IUPgduMJOjMyWIOn DD7dilsCAjLTNA/QwHl1P892rO8sVC6MkaMUrCcOpEJZ+ExBn62lY2oGa1pylA== 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 1347D7FB05 for ; Thu, 21 Nov 2024 13:44:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tE6XT-00041d-G5; Thu, 21 Nov 2024 07:44:03 -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 1tE6XS-00041U-Mn for guix-patches@gnu.org; Thu, 21 Nov 2024 07:44:02 -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 1tE6XS-00068z-Dl for guix-patches@gnu.org; Thu, 21 Nov 2024 07:44: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=hi6N6/jKwiTrPzpPu/NpTFCJ6lGHg5iLL4LAuGetNzE=; b=dN9kIDEroadmIq+Evkc0GKg/gnw0hbulW8TYz3UPXw81V3Fk8ouDMQs1EN6Vgv0TIPBQ0MNW/7xcjs3tqvZCgyRkLRoqKG0yCtAs87hYtXcqmpOAGlQZJROuusGs/lr5cKhgvOavSxUJeqxCZsENQS+SuJ6SxuaFUeU4jhgDeEF1XH9s0hYQWRZSWf1PnysnzkQB4VEr5lswPPenuZEkYIUnKgmU6qPhq4Gd2mEeI1xHEmRVsi4gP0I8OlQlT2/UITLzXzvbIb9ItjBy7Pa6Jfm7Lsea1DyP67dsDIIJ3uw0R8c1kYrH8PzZrJZxvZs4kBkU1UjNiPoQlYWGK/kMBg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tE6XS-0000RA-5b for guix-patches@gnu.org; Thu, 21 Nov 2024 07:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74459] [PATCH 1/8] guix: lint: Fix indentation. 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:44: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.17321929921600 (code B ref 74459); Thu, 21 Nov 2024 12:44:02 +0000 Received: (at 74459) by debbugs.gnu.org; 21 Nov 2024 12:43:12 +0000 Received: from localhost ([127.0.0.1]:49422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE6Wd-0000Pk-R6 for submit@debbugs.gnu.org; Thu, 21 Nov 2024 07:43:12 -0500 Received: from cotopaxi.ee.ethz.ch ([129.132.148.196]:41423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tE6Wb-0000PS-W4 for 74459@debbugs.gnu.org; Thu, 21 Nov 2024 07:43:10 -0500 Received: from localhost (antispam.ee.ethz.ch [129.132.2.16]) by cotopaxi.ee.ethz.ch (Postfix) with ESMTP id 70AE820026 for <74459@debbugs.gnu.org>; Thu, 21 Nov 2024 13:43:04 +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 EUCg2IO3vk-n for <74459@debbugs.gnu.org>; Thu, 21 Nov 2024 13:43:03 +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:43:03 +0100 (CET) Date: Thu, 21 Nov 2024 13:43:00 +0100 From: Gabriel Wicki Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 1347D7FB05 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.54 X-Spam-Score: -6.54 X-TUID: 3udr3pLQS/e8 * guix/lint.scm(check-synopsis-style): Add white space. * tests/lint.scm: Fix indentation. --- guix/lint.scm | 2 +- tests/lint.scm | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/guix/lint.scm b/guix/lint.scm index 8c6c20c723..31d366af46 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -737,7 +737,7 @@ (define (check-synopsis-style package) (define (check-start-with-package-name synopsis) (if (and (regexp-exec (package-name-regexp package) synopsis) - (not (starts-with-abbreviation? synopsis))) + (not (starts-with-abbreviation? synopsis))) (list (make-warning package (G_ "synopsis should not start with the package name") diff --git a/tests/lint.scm b/tests/lint.scm index 95d82d7490..b899ebc700 100644 --- a/tests/lint.scm +++ b/tests/lint.scm @@ -171,14 +171,14 @@ (define (warning-contains? str warnings) "description contains leading whitespace" (single-lint-warning-message (let ((pkg (dummy-package "x" - (description " Whitespace.")))) + (description " Whitespace.")))) (check-description-style pkg)))) (test-equal "description: trailing whitespace" "description contains trailing whitespace" (single-lint-warning-message (let ((pkg (dummy-package "x" - (description "Whitespace. ")))) + (description "Whitespace. ")))) (check-description-style pkg)))) (test-equal "description: pluralized 'This package'" @@ -359,18 +359,18 @@ (define (warning-contains? str warnings) '() (check-compiler-for-target (dummy-package "x" - (arguments - (list #:make-flags - #~(list (string-append "CC=" (cc-for-target)))))))) + (arguments + (list #:make-flags + #~(list (string-append "CC=" (cc-for-target)))))))) (test-equal "compiler-for-target: CC=gcc is acceptable when target=#false" '() (check-compiler-for-target ;; This (dummy) package consists purely of architecture-independent data. (dummy-package "tzdata" - (arguments - (list #:target #false - #:make-flags #~(list "CC=gcc")))))) + (arguments + (list #:target #false + #:make-flags #~(list "CC=gcc")))))) ;; The emacs-build-system sets #:tests? #f by default. (test-equal "tests-true: #:tests? #t acceptable for emacs packages" -- 2.46.0