Skip to content

Commit 18dd999

Browse files
authored
Doctest setup and format with pre-commit
1 parent e0c4d44 commit 18dd999

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web_programming/get_user_tweets.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_all_tweets(screen_name: str) -> str:
2121
auth.set_access_token(access_key, access_secret)
2222
api = tweepy.API(auth)
2323
status = ""
24-
24+
2525
# initialize a list to hold all the tweepy Tweets
2626
alltweets = []
2727

@@ -62,9 +62,10 @@ def get_all_tweets(screen_name: str) -> str:
6262
status = "success"
6363

6464
pass
65-
65+
6666
return status
6767

68+
6869
if __name__ == "__main__":
6970
# pass in the username of the account you want to download
7071
get_all_tweets("FirePing32")

0 commit comments

Comments
 (0)