@flake8ext
def no_translate_debug_logs(logical_line, filename):
    """Check for 'LOG.debug(_(' and 'LOG.debug(_Lx('

    As per our translation policy,
    https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation
    we shouldn't translate debug level logs.

    * This check assumes that 'LOG' is a logger.
    N319
    """
    for hint in _all_hints:
        if logical_line.startswith(hint % "LOG.debug(%s("):
            yield(0, "N319 Don't translate debug level logs")
dataset/ETHPy150Open openstack/neutron/neutron/hacking/checks.py/no_translate_debug_logs/swapped operands of `%`