Skip to content

Commit 562324c

Browse files
committed
chore: remove issue and pull request templates from GitHub and improve formatting in download and main API views
1 parent 77bdf2a commit 562324c

File tree

4 files changed

+6
-47
lines changed

4 files changed

+6
-47
lines changed

.github/issue_template.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

backend/api/views/download.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ def download_mentor_apps(apps, partner_object):
259259
(
260260
partner_object[acct.partner]
261261
if acct.partner and acct.partner in partner_object
262-
else acct.organization if acct.organization else ""
262+
else acct.organization
263+
if acct.organization
264+
else ""
263265
),
264266
]
265267
)

backend/api/views/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ def get_accounts(account_type):
124124
if partner_account.assign_mentees:
125125
for mentee_item in partner_account.assign_mentees:
126126
if "id" in mentee_item:
127-
partners_by_assign_mentee[str(mentee_item["id"])] = (
128-
partner_account
129-
)
127+
partners_by_assign_mentee[
128+
str(mentee_item["id"])
129+
] = partner_account
130130
for account in mentees_data:
131131
if str(account.id) in partners_by_assign_mentee:
132132
pair_partner = partners_by_assign_mentee[str(account.id)]

0 commit comments

Comments
 (0)