mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
lint: complain about useless Name: fields
This commit is contained in:
parent
4db4a86420
commit
5f894f1d38
1 changed files with 3 additions and 0 deletions
|
|
@ -170,6 +170,9 @@ def main():
|
||||||
elif not app['Categories']:
|
elif not app['Categories']:
|
||||||
warn("Categories are not set")
|
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']
|
name = app['Name'] or app['Auto Name']
|
||||||
if app['Summary'] and name:
|
if app['Summary'] and name:
|
||||||
if app['Summary'].lower() == name.lower():
|
if app['Summary'].lower() == name.lower():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue