From 0bdd51804696b415ba7526dcb1da8593177e64a2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 25 Apr 2019 23:14:45 +0200 Subject: [PATCH] Add check for description which are too long... --- package_linter.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package_linter.py b/package_linter.py index 0dbd921..ad9eb1c 100755 --- a/package_linter.py +++ b/package_linter.py @@ -349,6 +349,11 @@ class App(): "at least in english (1 line is enough)." ) + if len(descr) > 150: + print_warning( + "[YEP-1.9] Please use a shorter description (or the rendering on the webadmin / app list will be messy ...). Just describe in consise terms what the app is / does." + ) + elif "for yunohost" in descr.lower(): print_warning( "[YEP-1.9] The 'description' should explain what the app actually does. "