mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
lint: warn about redundant links too
This commit is contained in:
parent
0da8c2c365
commit
298934afa5
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue