From 99cdce6c09492d8e406ab9303495b577d535eee6 Mon Sep 17 00:00:00 2001 From: MDW Date: Tue, 16 Jan 2024 20:22:55 +0100 Subject: [PATCH] fixup! Create github action --- logToCs.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)