commit: e6df8ff65d9013d9ae76949a171fa65dede462f0 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Tue Aug 29 18:55:19 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Tue Aug 29 18:57:57 2023 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=e6df8ff6
RedundantLongDescription: lower too short threshold Resolves: https://github.com/pkgcore/pkgcheck/issues/614 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> src/pkgcheck/checks/metadata_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgcheck/checks/metadata_xml.py b/src/pkgcheck/checks/metadata_xml.py index f2b43af2..1f0a35d6 100644 --- a/src/pkgcheck/checks/metadata_xml.py +++ b/src/pkgcheck/checks/metadata_xml.py @@ -544,7 +544,7 @@ class PackageMetadataXmlCheck(_XmlBaseCheck): if match_ratio > 0.75: msg = "metadata.xml longdescription closely matches DESCRIPTION" yield RedundantLongDescription(msg, pkg=pkg) - elif len(pkg.longdescription) < 100: + elif len(pkg.longdescription) < 80: msg = "metadata.xml longdescription is too short" yield RedundantLongDescription(msg, pkg=pkg)
