Skip to content

Commit b8eb8e3

Browse files
author
Eric Koleda
authored
Merge pull request googleworkspace#101 from gsuitedevs/lint-fix
Clean up lint errors
2 parents 74becf5 + f68c16f commit b8eb8e3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/output-json/output-json.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,21 @@
1818
"""
1919
# [START output_json_python]
2020
from __future__ import print_function
21+
import json
2122
from apiclient import discovery
2223
from httplib2 import Http
2324
from oauth2client import client
2425
from oauth2client import file
2526
from oauth2client import tools
26-
import json
2727

2828
# Set doc ID, as found at `https://docs.google.com/document/d/YOUR_DOC_ID/edit`
29-
DOCUMENT_ID=YOUR_DOC_ID
29+
DOCUMENT_ID = 'YOUR_DOC_ID'
3030

3131
# Set the scopes and discovery info
3232
SCOPES = 'https://www.googleapis.com/auth/documents.readonly'
33-
DISCOVERY_DOC = 'https://docs.googleapis.com/$discovery/rest?version=v1&key=<YOUR_API_KEY>'
33+
DISCOVERY_DOC = ('https://docs.googleapis.com/$discovery/rest?'
34+
'version=v1'
35+
'&key=<YOUR_API_KEY>')
3436

3537
# Initialize credentials and instantiate Docs API service
3638
store = file.Storage('token.json')

0 commit comments

Comments
 (0)