mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Add check for description which are too long...
This commit is contained in:
parent
73a1eb528a
commit
0bdd518046
1 changed files with 5 additions and 0 deletions
|
@ -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. "
|
||||
|
|
Loading…
Reference in a new issue