From 709c8453ea48a520d4a9583f5b8f37c53f3aa878 Mon Sep 17 00:00:00 2001 From: Remy D Date: Wed, 7 Dec 2011 14:22:15 -0500 Subject: [PATCH 1/4] PEP8 Edit: Removed Tab -> added 4 spaces --- core_examples/public_timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_examples/public_timeline.py b/core_examples/public_timeline.py index 40d311d..da28e7e 100644 --- a/core_examples/public_timeline.py +++ b/core_examples/public_timeline.py @@ -5,4 +5,4 @@ twitter = Twython() public_timeline = twitter.getPublicTimeline() for tweet in public_timeline: - print tweet["text"] + print tweet["text"] -- 2.39.5 From 9fcd14f3d11adca9d3e9dbb714d6603380bf0520 Mon Sep 17 00:00:00 2001 From: Remy D Date: Wed, 7 Dec 2011 14:23:22 -0500 Subject: [PATCH 2/4] PEP8 Edit: Removed Tab -> added 4 spaces --- core_examples/search_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_examples/search_results.py b/core_examples/search_results.py index 54c7dd0..607a68f 100644 --- a/core_examples/search_results.py +++ b/core_examples/search_results.py @@ -5,4 +5,4 @@ twitter = Twython() search_results = twitter.searchTwitter(q="WebsDotCom", rpp="50") for tweet in search_results["results"]: - print tweet["text"] + print tweet["text"] -- 2.39.5 From fb8cefd82373c3767ca8a40f27ccd42840e94ce7 Mon Sep 17 00:00:00 2001 From: Remy D Date: Wed, 7 Dec 2011 14:24:23 -0500 Subject: [PATCH 3/4] PEP8 Edit: Removed Tab -> added 4 spaces --- core_examples/update_profile_image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core_examples/update_profile_image.py b/core_examples/update_profile_image.py index 7f3b5ef..857140a 100644 --- a/core_examples/update_profile_image.py +++ b/core_examples/update_profile_image.py @@ -1,9 +1,9 @@ from twython import Twython """ - You'll need to go through the OAuth ritual to be able to successfully - use this function. See the example oauth django application included in - this package for more information. + You'll need to go through the OAuth ritual to be able to successfully + use this function. See the example oauth django application included in + this package for more information. """ twitter = Twython() twitter.updateProfileImage("myImage.png") -- 2.39.5 From cf5b382d55090bdc654f371001320706475357b7 Mon Sep 17 00:00:00 2001 From: Remy D Date: Wed, 7 Dec 2011 14:26:02 -0500 Subject: [PATCH 4/4] PEP8 Edits: Removed Tabs, removed spaces around keywords, linebreaks in lines longer than 80 chars --- core_examples/update_status.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core_examples/update_status.py b/core_examples/update_status.py index 1acc2b8..9b7deca 100644 --- a/core_examples/update_status.py +++ b/core_examples/update_status.py @@ -1,13 +1,14 @@ from twython import Twython """ - Note: for any method that'll require you to be authenticated (updating things, etc) - you'll need to go through the OAuth authentication ritual. See the example - Django application that's included with this package for more information. + Note: for any method that'll require you to be authenticated (updating + things, etc) + you'll need to go through the OAuth authentication ritual. See the example + Django application that's included with this package for more information. """ twitter = Twython() # OAuth ritual... -twitter.updateStatus(status = "See how easy this was?") +twitter.updateStatus(status="See how easy this was?") -- 2.39.5