def _log_option_source(arg_val, ini_val, option_name):
    if arg_val:
        logger.info("Using command line arg for %s", option_name)
        return arg_val
    elif ini_val:
        logger.info("Using .bandit arg for %s", option_name)
        return ini_val
    else:
        return None
It's useful to show the source of each option.
dataset/ETHPy150Open openstack/bandit/bandit/cli/main.py/_log_option_source