mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +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:
parent
83e0693231
commit
6c5887e906
@ -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…
Reference in New Issue
Block a user