Skip to content

Commit 29ac543

Browse files
committed
fixed linting issues and import issues
1 parent f4dc4cc commit 29ac543

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ types-pytz
1717
types-requests
1818
gitlint>=0.13.0
1919
-r ./zulip/integrations/bridge_with_matrix/requirements.txt
20+
-r ./zulip/integrations/google/requirements.txt

Diff for: zulip/integrations/google/get-google-credentials

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ APPLICATION_NAME = "Zulip Calendar Bot"
2222
HOME_DIR = os.path.expanduser("~")
2323
CREDENTIALS_PATH = os.path.join(HOME_DIR, "google-credentials.json")
2424

25-
2625
def get_credentials() -> Credentials:
2726
"""Gets valid user credentials from storage.
2827
@@ -58,5 +57,7 @@ def get_credentials() -> Credentials:
5857

5958
print("Storing credentials to " + CREDENTIALS_PATH)
6059

60+
return creds # Return the obtained credentials
61+
6162

6263
get_credentials()

0 commit comments

Comments
 (0)