Skip to content

Commit 32c45a0

Browse files
committed
ran black on the entire /examples directory
have to run black EVERY time a file changes??
1 parent c427f54 commit 32c45a0

6 files changed

+3
-4
lines changed

examples/requests_api_discord.py

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
# Print keys to Serial
9090
discord_debug_keys = True # Set to True to print Serial data
9191
if discord_debug_keys:
92-
9392
ada_discord_all_members = ada_res["approximate_member_count"]
9493
print("Members: ", ada_discord_all_members)
9594

examples/requests_api_github.py

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
# Print Keys to Serial
8282
gh_debug_keys = True # Set True to print Serial data
8383
if gh_debug_keys:
84-
8584
github_id = github_response["id"]
8685
print("UserID: ", github_id)
8786

examples/requests_api_mastodon.py

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
print("Secrets File Import Error")
3434
raise
3535

36+
3637
# Converts seconds in minutes/hours/days
3738
def time_calc(input_time):
3839
if input_time < 60:

examples/requests_api_steam.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
# Deconstruct URL (pylint hates long lines)
3434
# http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/
35-
#?key=XXXXXXXXXXXXXXXXXXXXX&include_played_free_games=1&steamid=XXXXXXXXXXXXXXXX&format=json
35+
# ?key=XXXXXXXXXXXXXXXXXXXXX&include_played_free_games=1&steamid=XXXXXXXXXXXXXXXX&format=json
3636
Steam_OwnedGames_URL = (
3737
"http://api.steampowered.com/IPlayerService/GetOwnedGames/v0001/?"
3838
+ "key="

examples/requests_api_twitch.py

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
print("Secrets File Import Error")
3434
raise
3535

36+
3637
# Converts seconds in minutes/hours/days
3738
def time_calc(input_time):
3839
if input_time < 60:

examples/requests_api_twitter.py

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
# Print to Serial
8989
tw_debug_keys = True # Set true to print Serial data
9090
if tw_debug_keys:
91-
9291
tw_userid = tw_json["data"]["id"]
9392
print("User ID: ", tw_userid)
9493

0 commit comments

Comments
 (0)