make cppcheck run with quiet flag when QUIET env var is set, make bpy.ops.image.project_apply() only use local images.
This commit is contained in:
@@ -46,6 +46,9 @@ CHECKER_ARGS = [
|
||||
# "--enable=all", # if you want sixty hundred pedantic suggestions
|
||||
]
|
||||
|
||||
if USE_QUIET:
|
||||
CHECKER_ARGS.append("--quiet")
|
||||
|
||||
|
||||
def main():
|
||||
source_info = project_source_info.build_info(ignore_prefix_list=CHECKER_IGNORE_PREFIX)
|
||||
@@ -78,6 +81,8 @@ def main():
|
||||
|
||||
project_source_info.queue_processes(process_functions)
|
||||
|
||||
print("Finished!")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Reference in New Issue
Block a user