@flake8ext
def validate_log_translations(logical_line, physical_line, filename):
    # Translations are not required in the test directory
    if filename in "neutron/tests":
        return
    if pep8.noqa(physical_line):
        return

    msg = "N320: Log messages require translation hints!"
    if log_translation_hint.match(logical_line):
        yield (0, msg)
dataset/ETHPy150Open openstack/neutron/neutron/hacking/checks.py/validate_log_translations/swapped operands of `in`