human
Here's a good function header given the following:
I wrote the below code

    def fin_remove_additional_dirs():
        if os.path.isdir('fake-project'):
            utils.rmtree('fake-project')
        if os.path.isdir('fake-project-input-extra'):
            utils.rmtree('fake-project-input-extra')
    request.addfinalizer(fin_remove_additional_dirs)

What's a good function header?
assistant
#Here's a good function header.

@pytest.fixture(scope='function')
def remove_additional_dirs(request):