Skip to content

Commit 3aaa6d0

Browse files
Refactor config comments for better readability and line wrapping
Co-authored-by: zohair.ul.hasan <[email protected]>
1 parent e584851 commit 3aaa6d0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/config.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
# Winter (25): September 28 - January 15
2525
# Spring (35): January 16 - April 14
2626
# Summer (45): April 15 - June 30
27-
# check college code by going to the tms website and selecting your college from the left sidebar
27+
# check college code by going to the tms website and selecting your college
28+
# from the left sidebar
2829
# the URL bar should update and it should end with something like collCode=CI
2930
# the characters after the = sign is your college code
3031
# e.g. in this URL the college code is CI
@@ -44,7 +45,9 @@ def get_environ(key: str, required: bool = True) -> str:
4445
return os.environ[key]
4546
elif required:
4647
print(
47-
f"{key} is missing from your environment variables and is required to run this script. See {environ_help_url} for more information and help."
48+
f"{key} is missing from your environment variables and is required "
49+
f"to run this script. See {environ_help_url} for more information "
50+
f"and help."
4851
)
4952
sys.exit(1)
5053
else:
@@ -54,7 +57,8 @@ def get_environ(key: str, required: bool = True) -> str:
5457
# Drexel Connect Credentials
5558
drexel_email = get_environ("DREXEL_EMAIL")
5659
drexel_password = get_environ("DREXEL_PASSWORD")
57-
# This is not required if the user is using a separate authenticator app and will manually approve the login attempt
60+
# This is not required if the user is using a separate authenticator app
61+
# and will manually approve the login attempt
5862
drexel_mfa_secret_key = get_environ("DREXEL_MFA_SECRET_KEY", False) or None
5963

6064
# URL's

0 commit comments

Comments
 (0)