def increment_gh_link_count()

in link-verifier/verify-links.py [0:0]


    def increment_gh_link_count(self, owner, repo, num, is_pr):
        """Increment the count of links to Github PRs or issues"""

        repo_key = f'{owner}/{repo}'.lower()
        if repo_key not in self.linked_repos:
            self.linked_repos[repo_key] = { NUM_IS_KEY : 0, NUM_PR_KEY : 0 }
        if is_pr:
            self.linked_repos[repo_key][NUM_PR_KEY] += 1
        else:
            self.linked_repos[repo_key][NUM_IS_KEY] += 1