mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
lint: warn about None category
This commit is contained in:
parent
74f12ab641
commit
504163b170
1 changed files with 4 additions and 0 deletions
|
|
@ -195,6 +195,10 @@ def main():
|
||||||
if app['Web Site'].lower() == app['Source Code'].lower():
|
if app['Web Site'].lower() == app['Source Code'].lower():
|
||||||
warn("Website '%s' is just the app's source code link" % app['Web Site'])
|
warn("Website '%s' is just the app's source code link" % app['Web Site'])
|
||||||
|
|
||||||
|
# "None" still a category
|
||||||
|
if 'None' in app['Categories']:
|
||||||
|
warn("Category 'None' is is still present")
|
||||||
|
|
||||||
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