def remove_fake_project_dir(request) -> None:
    """Remove the fake project directory created during the tests."""

    def fin_remove_fake_project_dir() -> None:
        for prefix in ('', 'input'):
            dir_name = f'{prefix}fake-project'
            if os.path.isdir(dir_name):
                utils.rmtree(dir_name)

    request.addfinalizer(fin_remove_fake_project_dir)
Remove the fake project directory created during the tests.
tests/test_cli.py