Browse Source

Pylinting Twitter.py

David Leonard 10 năm trước cách đây
mục cha
commit
41b7a2282e
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      hackathon_starter/hackathon/scripts/twitter.py

+ 3 - 1
hackathon_starter/hackathon/scripts/twitter.py

@@ -1,3 +1,6 @@
+# pylint: disable=too-many-instance-attributes
+# pylint: disable=unused-variable
+# pylint: disable=too-many-arguments
 
 '''
 twitter.py contains a handful of methods for interacting
@@ -219,7 +222,6 @@ def getNonce():
     nonce = base64.b64encode(''.join([str(random.randint(0, 9)) for i in range(24)]))
     return nonce
 
-
 def generateSignature(method, link, linkParameters, oauthParameters,
                       oauthConsumerSecret, oauthTokenSecret=None):
     '''