@accepts_baseline
def report(manager, filename, sev_level, conf_level, lines=-1):
    """Prints discovered issues formatted for screen reading

    This makes use of VT100 terminal codes for colored text.

    :param manager: the bandit manager object
    :param filename: The output file name, or None for stdout
    :param sev_level: Filtering severity level
    :param conf_level: Filtering confidence level
    :param lines: Number of lines to report, -1 for all
    """

    bits = []
    bits.append(header("Run started:%s", datetime.datetime.utcnow()))

    if manager.verbose:
        bits.append(get_verbose_details(manager))

    bits.append(header("\nTest results:"))
    bits.append(get_results(manager, sev_level, conf_level, lines))
    bits.append(header("\nCode scanned:"))
    bits.append('\tTotal lines of code: %i' %
                (manager.metrics.data['_totals']['loc']))

    bits.append('\tTotal lines skipped (#nosec): %i' %
                (manager.metrics.data['_totals']['nosec']))

    bits.append(get_metrics(manager))
    bits.append(header("Files skipped (%i):", len(manager.skipped)))
    bits.extend([skip % "\t%s (%s)" for skip in manager.skipped])
    do_print(bits)

    if filename is not None:
        logger.info(("Screen formatter output was not written to file: %s"
                     ", consider '-f txt'") % filename)
dataset/ETHPy150Open openstack/bandit/bandit/formatters/screen.py/report/swapped operands of `%`