Skip to content

Commit f5f913c

Browse files
committed
solved lint issues
1 parent bd59f3a commit f5f913c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

zulip/integrations/google/get-google-credentials

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ from google.oauth2.credentials import Credentials
77
from google_auth_oauthlib.flow import InstalledAppFlow
88

99
flags = argparse.ArgumentParser(description="Google Calendar Bot")
10-
flags.add_argument('--noauth_local_webserver', action='store_true',
11-
help='Run OAuth flow in console instead of opening a web browser.')
10+
flags.add_argument("--noauth_local_webserver", action="store_true", help="Run OAuth flow in console instead of opening a web browser.")
1211
args = flags.parse_args()
1312

1413
# If modifying these scopes, delete your previously saved credentials
@@ -54,9 +53,9 @@ def get_credentials() -> Credentials:
5453
creds = flow.run_local_server(port=0)
5554

5655
# Save the credentials for future use
57-
with open(CREDENTIALS_PATH, 'w') as token_file:
56+
with open(CREDENTIALS_PATH, "w") as token_file:
5857
token_file.write(creds.to_json())
59-
58+
6059
print("Storing credentials to " + CREDENTIALS_PATH)
6160

6261

zulip/integrations/google/google-calendar

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ google-calendar --calendar [email protected]
5555
)
5656
)
5757

58-
5958
parser.add_argument(
6059
"--interval",
6160
dest="interval",

0 commit comments

Comments
 (0)