Skip to content

Commit c06c982

Browse files
authored
{AppService} Fix linter error in _github_oauth.py (#17998)
1 parent 32d2691 commit c06c982

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/azure-cli/azure/cli/command_modules/appservice/_github_oauth.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'''
1818

1919

20-
def get_github_access_token(cmd, scope_list=None):
20+
def get_github_access_token(cmd, scope_list=None): # pylint: disable=unused-argument
2121
if scope_list:
2222
for scope in scope_list:
2323
if scope not in GITHUB_OAUTH_SCOPES:
@@ -30,11 +30,9 @@ def get_github_access_token(cmd, scope_list=None):
3030
'client_id': GITHUB_OAUTH_CLIENT_ID
3131
}
3232

33-
import base64
34-
import json
3533
import requests
3634
import time
37-
from urllib.parse import urlparse, parse_qs
35+
from urllib.parse import parse_qs
3836

3937
try:
4038
response = requests.post(authorize_url, data=authorize_url_data)

0 commit comments

Comments
 (0)