aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-11-05 15:20:58 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-11-05 15:20:58 +0200
commit1b246cfa75d0789b7e77ccf645ea3778340b8eda (patch)
treeb0e425d07a30e727359d0792c4a5d34311b1299f
parentMissingInherits: add some specials to exclude list (diff)
downloadpkgcheck-1b246cfa75d0789b7e77ccf645ea3778340b8eda.tar.gz
pkgcheck-1b246cfa75d0789b7e77ccf645ea3778340b8eda.tar.bz2
pkgcheck-1b246cfa75d0789b7e77ccf645ea3778340b8eda.zip
whitespace: fix double "on" in result text
Resolves: https://github.com/pkgcore/pkgcheck/issues/633 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--src/pkgcheck/checks/whitespace.py6
1 files 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):