commit: 1b246cfa75d0789b7e77ccf645ea3778340b8eda Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sun Nov 5 13:20:58 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> 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 <arthurzam <AT> 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):