from pathlib import Path


def _setup_filetree_for_priority_test(tmp_path: Path) -> Path:
    """
    root
    └─ dir_1
       └─ dir_1_1
          └─ file_1.py

    Returns: path for file_1.py
    """
    root_dir = tmp_path / 'root'
    root_dir.mkdir()

    dir_1 = root_dir / 'dir_1'
    dir_1.mkdir()

    dir_1_1 = dir_1 / 'dir_1_1'
    dir_1_1.mkdir()

    file_1_path = dir_1_1 / 'file_1.py'
    file_1_path.touch()

    return file_1_path