mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
lint: complain about useless Name: fields
This commit is contained in:
parent
4db4a86420
commit
5f894f1d38
@ -170,6 +170,9 @@ def main():
|
||||
elif not app['Categories']:
|
||||
warn("Categories are not set")
|
||||
|
||||
if app['Name'] and app['Name'] == app['Auto Name']:
|
||||
warn("Name '%s' is just the auto name" % app['Name'])
|
||||
|
||||
name = app['Name'] or app['Auto Name']
|
||||
if app['Summary'] and name:
|
||||
if app['Summary'].lower() == name.lower():
|
||||
|
Loading…
Reference in New Issue
Block a user