def test_unknown_hooks_dir(self) -> None:
        """`find_hooks` should return None if hook directory not found."""
        with utils.work_in(self.repo_path):
            assert hooks.find_hook('pre_gen_project', hooks_dir='hooks_dir') is None
`find_hooks` should return None if hook directory not found.
tests/test_hooks.py