1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01: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:
Hans-Christoph Steiner 2020-06-02 21:53:24 +02:00
parent 83e0693231
commit 6c5887e906
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -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: