diff --git a/logToCs.py b/logToCs.py index c2111c5..a7db14f 100755 --- a/logToCs.py +++ b/logToCs.py @@ -93,10 +93,15 @@ def github_annotate(items): throws ImportError if the github module is not available. """ + # pylint: disable=attr-defined + access_token = "" + owner = "" + repo_name = "" + commit_sha = "" if not hasattr(github_annotate, "initialized"): # Initialise github annotation submission github_annotate.initialized = True - from github import Github + from github import Github # pylint: disable=import-outside-toplevel # Create Github instance g = Github(access_token)