From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F242158089 for ; Sun, 5 Nov 2023 13:22:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41FD52BC013; Sun, 5 Nov 2023 13:22:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D7D32BC013 for ; Sun, 5 Nov 2023 13:22:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C518335C34 for ; Sun, 5 Nov 2023 13:22:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 408689EC for ; Sun, 5 Nov 2023 13:22:39 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1699190458.1b246cfa75d0789b7e77ccf645ea3778340b8eda.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: src/pkgcheck/checks/ X-VCS-Repository: proj/pkgcore/pkgcheck X-VCS-Files: src/pkgcheck/checks/whitespace.py X-VCS-Directories: src/pkgcheck/checks/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 1b246cfa75d0789b7e77ccf645ea3778340b8eda X-VCS-Branch: master Date: Sun, 5 Nov 2023 13:22:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c32e23f1-1330-4765-bd9a-a75a6a822f1b X-Archives-Hash: 70809ffc2c77c358e21d4968752e35b1 commit: 1b246cfa75d0789b7e77ccf645ea3778340b8eda Author: Arthur Zamarin gentoo org> AuthorDate: Sun Nov 5 13:20:58 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Nov 5 13:20:58 2023 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=1b246cfa whitespace: fix double "on" in result text Resolves: https://github.com/pkgcore/pkgcheck/issues/633 Signed-off-by: Arthur Zamarin gentoo.org> src/pkgcheck/checks/whitespace.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pkgcheck/checks/whitespace.py b/src/pkgcheck/checks/whitespace.py index a853e0b0..9987cf7e 100644 --- a/src/pkgcheck/checks/whitespace.py +++ b/src/pkgcheck/checks/whitespace.py @@ -20,7 +20,7 @@ class WhitespaceFound(_Whitespace): @property def desc(self): - return f"ebuild has {self.leadtrail} whitespace on {self.lines_str}" + return f"ebuild has {self.leadtrail} whitespace {self.lines_str}" class WrongIndentFound(_Whitespace): @@ -28,7 +28,7 @@ class WrongIndentFound(_Whitespace): @property def desc(self): - return f"ebuild has whitespace in indentation on {self.lines_str}" + return f"ebuild has whitespace in indentation {self.lines_str}" class DoubleEmptyLine(_Whitespace): @@ -36,7 +36,7 @@ class DoubleEmptyLine(_Whitespace): @property def desc(self): - return f"ebuild has unneeded empty line on {self.lines_str}" + return f"ebuild has unneeded empty line {self.lines_str}" class TrailingEmptyLine(results.VersionResult, results.Style):