def METHOD_NAME(
    tmp_path: Path,
    default_rules_collection: RulesCollection,
) -> None:
    """Ensure we do not ignore an explicit temporary file from linting."""
    # https://github.com/ansible/ansible-lint/issues/2628
    filename = tmp_path / "playbook.yml"
    filename.write_text("---\n")
    runner = Runner(
        filename,
        rules=default_rules_collection,
        verbosity=0,
    )
    result = runner.run()
    assert len(result) == 1
    assert result[0].tag == "syntax-check[empty-playbook]"