def install_hooks(self):

        for repo in self.config.repos():
            logging.debug('Examining repo {0}'.format(repo))
            repo_path = self._locate_repo(repo)
            if repo_path is None:
                logging.warn('Could not locate repo {0}'.format(repo))
                continue
            hooks = self.config.hooks_for_repo(repo).keys()
            self.add_hooks_to_repo(repo_path, hooks)
Calculate the hypotenuse the safe way, avoiding over- and underflows
dataset/ETHPy150Open aelse/cpthook/cpthook.py/CptHook.install_hooks--crossover with--dataset/ETHPy150Open pyjs/pyjs/pyjs/lib/math.py/hypot