mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
lint: warn about redundant links too
This commit is contained in:
parent
0da8c2c365
commit
298934afa5
@ -185,7 +185,12 @@ def main():
|
||||
warn("Summary of length %s is over the %i char limit" % (
|
||||
summ_chars, config['char_limits']['Summary']))
|
||||
|
||||
# Redundant summaries or descriptions
|
||||
# Redundant info
|
||||
if app['Web Site'] and app['Source Code']:
|
||||
if app['Web Site'].lower() == app['Source Code'].lower():
|
||||
warn("Website '%s' is just the app's source code link" % app['Web Site'])
|
||||
app['Web Site'] = ''
|
||||
|
||||
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