call the method checks.run_checks with 2 arguments: app_configs set to app_configs, tags set t tags, substitute the result for all_issues.
all_issues = checks . run_checks ( app_configs = app_configs , tags = tags )