mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
lint: catch links at the beginning too
This commit is contained in:
parent
41690b7508
commit
0f06044770
1 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ def check_useless_fields(app):
|
||||||
if app['Update Check Name'] == app['id']:
|
if app['Update Check Name'] == app['id']:
|
||||||
yield "Update Check Name is set to the known app id - it can be removed"
|
yield "Update Check Name is set to the known app id - it can be removed"
|
||||||
|
|
||||||
filling_ucms = re.compile('^(Tags.*|RepoManifest.*)')
|
filling_ucms = re.compile(r'^(Tags.*|RepoManifest.*)')
|
||||||
|
|
||||||
|
|
||||||
def check_checkupdates_ran(app):
|
def check_checkupdates_ran(app):
|
||||||
|
|
@ -255,7 +255,7 @@ def check_duplicates(app):
|
||||||
seenlines.add(l)
|
seenlines.add(l)
|
||||||
|
|
||||||
|
|
||||||
desc_url = re.compile("[^[]\[([^ ]+)( |\]|$)")
|
desc_url = re.compile(r'(^|[^[])\[([^ ]+)( |\]|$)')
|
||||||
|
|
||||||
|
|
||||||
def check_mediawiki_links(app):
|
def check_mediawiki_links(app):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue