mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
run yamllint when parsing failed and also on fdroid lint runs
This commit is contained in:
parent
bb43dcf00e
commit
4e69ff582f
4 changed files with 49 additions and 16 deletions
|
|
@ -600,6 +600,13 @@ def main():
|
|||
if app.Disabled:
|
||||
continue
|
||||
|
||||
if len(options.appid) > 0:
|
||||
ymlpath = os.path.join('metadata', appid + '.yml')
|
||||
if os.path.isfile(ymlpath):
|
||||
yamllintresult = common.run_yamllint(ymlpath)
|
||||
if yamllintresult != '':
|
||||
print(yamllintresult)
|
||||
|
||||
app_check_funcs = [
|
||||
check_app_field_types,
|
||||
check_regexes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue