help='check the full tree for corrective actions') parser.add_option('--patchwork-host', dest="patchwork_host", help='patchwork custom server url') parser.add_option('-y', '--yes', dest="confirm", action='store_true', help='Answer yes to all questions') options, args = parser.parse_args() local_patch = options.local_patch pw_id = options.pw_id gh_id = options.gh_id debug = options.debug run_pylint.set_verbosity(debug) full_check = options.full_check confirm = options.confirm pwhost = options.patchwork_host vcs = VCS() if vcs.backend is None: vcs = None logging_manager.configure_logging(CheckPatchLoggingConfig(), verbose=debug) extension_blacklist = [ "common.py", ".svn", ".git", ".pyc", ".orig", ".rej", ".bak", ".so", ".cfg", ".ks", ".preseed", ".steps", ".c", ".xml", ".sif", ".cs", ".ini", ".exe", "logs", "shared/data" ] dir_blacklist = [".svn", ".git", "data", "logs"]
help='include debug messages in console output') parser.add_option('-f', '--full-check', dest="full_check", action='store_true', help='check the full tree for corrective actions') parser.add_option('--patchwork-host', dest="patchwork_host", help='patchwork custom server url') parser.add_option('-y', '--yes', dest="confirm", action='store_true', help='Answer yes to all questions') options, args = parser.parse_args() local_patch = options.local_patch pw_id = options.pw_id gh_id = options.gh_id debug = options.debug run_pylint.set_verbosity(debug) full_check = options.full_check confirm = options.confirm pwhost = options.patchwork_host vcs = VCS() if vcs.backend is None: vcs = None logging_manager.configure_logging(CheckPatchLoggingConfig(), verbose=debug) logging.info("Detected project name: %s", PROJECT_NAME) logging.info("Log saved to file: %s", LOG_FILE_PATH) extension_blacklist = EXTENSION_BLACKLIST.get(PROJECT_NAME, []) dir_blacklist = DIR_BLACKLIST.get(PROJECT_NAME, []) if full_check: failed_paths = []