Skip to content

Commit 6fc9637

Browse files
committed
formatting imports with isort
1 parent 835457b commit 6fc9637

File tree

151 files changed

+337
-210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+337
-210
lines changed

account/configure-account.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
2-
from os.path import join, dirname
2+
from os.path import dirname, join
3+
34
from dotenv import load_dotenv
45

56
dotenv_path = join(dirname(__file__), '../.env')

account/create-secret.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
2-
from os.path import join, dirname
2+
from os.path import dirname, join
3+
34
from dotenv import load_dotenv
45

56
# Load the environment

account/fetch-a-secret.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
2-
from os.path import join, dirname
2+
from os.path import dirname, join
3+
34
from dotenv import load_dotenv
45

56
dotenv_path = join(dirname(__file__), "../.env")

account/get-balance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
2-
from os.path import join, dirname
2+
from os.path import dirname, join
3+
34
from dotenv import load_dotenv
45

56
dotenv_path = join(dirname(__file__), '../.env')

account/list-all-secrets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
2-
from os.path import join, dirname
2+
from os.path import dirname, join
3+
34
from dotenv import load_dotenv
45

56
dotenv_path = join(dirname(__file__), "../.env")

account/revoke-secret.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
2-
from os.path import join, dirname
2+
from os.path import dirname, join
3+
34
from dotenv import load_dotenv
45

56
# Load the environment

application/create-application.py

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python3
22
import os
3-
from os.path import join, dirname
3+
from os.path import dirname, join
4+
45
from dotenv import load_dotenv
56

67
dotenv_path = join(dirname(__file__), "../.env")
@@ -10,20 +11,10 @@
1011
VONAGE_API_SECRET = os.getenv('VONAGE_API_SECRET')
1112

1213
from vonage import Auth, Vonage
13-
from vonage_application import (
14-
ApplicationConfig,
15-
ApplicationData,
16-
ApplicationUrl,
17-
Capabilities,
18-
Messages,
19-
MessagesWebhooks,
20-
Region,
21-
Verify,
22-
VerifyWebhooks,
23-
Voice,
24-
VoiceUrl,
25-
VoiceWebhooks,
26-
)
14+
from vonage_application import (ApplicationConfig, ApplicationData,
15+
ApplicationUrl, Capabilities, Messages,
16+
MessagesWebhooks, Region, Verify,
17+
VerifyWebhooks, Voice, VoiceUrl, VoiceWebhooks)
2718

2819
client = Vonage(Auth(api_key=VONAGE_API_KEY, api_secret=VONAGE_API_SECRET))
2920

application/delete-application.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python3
22
import os
3-
from os.path import join, dirname
3+
from os.path import dirname, join
4+
45
from dotenv import load_dotenv
56

67
dotenv_path = join(dirname(__file__), "../.env")

application/get-application.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python3
22
import os
3-
from os.path import join, dirname
3+
from os.path import dirname, join
4+
45
from dotenv import load_dotenv
56

67
dotenv_path = join(dirname(__file__), "../.env")

application/list-applications.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
from pprint import pprint
21
import os
3-
from os.path import join, dirname
2+
from os.path import dirname, join
3+
from pprint import pprint
4+
45
from dotenv import load_dotenv
56

67
dotenv_path = join(dirname(__file__), "../.env")

0 commit comments

Comments
 (0)