Skip to content

Commit 0cbba3e

Browse files
zkoppertCopilot
andauthored
Update auth.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Zack Koppert <zkoppert@github.com>
1 parent ab9ccdc commit 0cbba3e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

auth.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ def auth_to_github(
9494
elif token:
9595
github_connection = github3.login(token=token)
9696
else:
97-
raise ValueError("GH_TOKEN or the set of [GH_APP_ID, GH_APP_INSTALLATION_ID, \
98-
GH_APP_PRIVATE_KEY] environment variables are not set")
97+
raise ValueError(
98+
"GH_TOKEN or the set of [GH_APP_ID, GH_APP_INSTALLATION_ID, "
99+
"GH_APP_PRIVATE_KEY] environment variables are not set"
100+
)
99101

100102
if not github_connection:
101103
raise ValueError("Unable to authenticate to GitHub")

0 commit comments

Comments
 (0)