Skip to content

Commit

Permalink
fix: add suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardojdsilva87 committed Oct 28, 2024
1 parent 3b6a323 commit 4234b6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[run]
omit =
# omit test files
test_*.py
test_*.py
4 changes: 2 additions & 2 deletions .env-example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GH_ENTERPRISE_URL=""
GH_ENTERPRISE_URL = ""
GH_TOKEN = ""
END_DATE = ""
ORGANIZATION = "organization"
Expand All @@ -9,4 +9,4 @@ START_DATE = ""
GH_APP_ID = ""
GH_INSTALLATION_ID = ""
GH_PRIVATE_KEY = ""
GITHUB_APP_ENTERPRISE_ONLY = ""
GITHUB_APP_ENTERPRISE_ONLY = ""
2 changes: 1 addition & 1 deletion auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ def get_github_app_installation_token(
response = requests.post(url, headers=jwt_headers, json=None, timeout=5)
response.raise_for_status()
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
print(f"Request to get GitHub App Installation Token failed: {e}")
return None
return response.json().get("token")

0 comments on commit 4234b6a

Please sign in to comment.