mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
lint: make --force-yamllint error if yamllint is not installed
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/753#note_353829401
This commit is contained in:
parent
83e0693231
commit
6c5887e906
1 changed files with 3 additions and 0 deletions
|
@ -603,6 +603,9 @@ def main():
|
|||
if app.Disabled:
|
||||
continue
|
||||
|
||||
if options.force_yamllint:
|
||||
import yamllint # throw error if it is not installed
|
||||
|
||||
# only run yamllint when linting individual apps.
|
||||
if len(options.appid) > 0 or options.force_yamllint:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue