def test_no_hooks(self) -> None:
        """`find_hooks` should return None if the hook could not be found."""
        with utils.work_in('tests/fake-repo'):
            assert None is hooks.find_hook('pre_gen_project')
`find_hooks` should return None if the hook could not be found.
tests/test_hooks.py