{"action":"opened","issue":{"url":"https://api.github.com/repos/s3tools/s3cmd/issues/506","labels_url":"https://api.github.com/repos/s3tools/s3cmd/issues/506/labels{/name}","comments_url":"https://api.github.com/repos/s3tools/s3cmd/issues/506/comments","events_url":"https://api.github.com/repos/s3tools/s3cmd/issues/506/events","html_url":"https://github.com/s3tools/s3cmd/issues/506","id":62665390,"number":506,"title":"many pep8 and pyflakes warnings","user":{"login":"LocutusOfBorg","id":1227338,"avatar_url":"https://avatars.githubusercontent.com/u/1227338?v=3","gravatar_id":"","url":"https://api.github.com/users/LocutusOfBorg","html_url":"https://github.com/LocutusOfBorg","followers_url":"https://api.github.com/users/LocutusOfBorg/followers","following_url":"https://api.github.com/users/LocutusOfBorg/following{/other_user}","gists_url":"https://api.github.com/users/LocutusOfBorg/gists{/gist_id}","starred_url":"https://api.github.com/users/LocutusOfBorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LocutusOfBorg/subscriptions","organizations_url":"https://api.github.com/users/LocutusOfBorg/orgs","repos_url":"https://api.github.com/users/LocutusOfBorg/repos","events_url":"https://api.github.com/users/LocutusOfBorg/events{/privacy}","received_events_url":"https://api.github.com/users/LocutusOfBorg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-18T11:19:46Z","updated_at":"2015-03-18T11:19:46Z","closed_at":null,"body":"Hi, can you please look at the output of pep8 and pyflakes tools?\r\n```\r\n$ pyflakes .\r\n./setup.py:4: 'find_packages' imported but unused\r\n./setup.py:19: 'ET' imported but unused\r\n./S3/Utils.py:7: 'datetime' imported but unused\r\n./S3/Utils.py:14: 'rfc822' imported but unused\r\n./S3/Utils.py:16: 'urllib' imported but unused\r\n./S3/Utils.py:18: 'info' imported but unused\r\n./S3/Utils.py:45: 'sha1' imported but unused\r\n./S3/FileLists.py:11: 'from Utils import *' used; unable to detect undefined names\r\n./S3/FileLists.py:15: 'error' imported but unused\r\n./S3/FileLists.py:490: local variable 'e' is assigned to but never used\r\n./S3/FileLists.py:530: local variable 'e' is assigned to but never used\r\n./S3/S3.py:12: 'httplib' imported but unused\r\n./S3/S3.py:13: 'logging' imported but unused\r\n./S3/S3.py:15: 're' imported but unused\r\n./S3/S3.py:17: redefinition of unused 'base64' from line 11\r\n./S3/S3.py:26: 'from Utils import *' used; unable to detect undefined names\r\n./S3/S3.py:32: 'from Exceptions import *' used; unable to detect undefined names\r\n./S3/S3.py:37: 'from ExitCodes import *' used; unable to detect undefined names\r\n./S3/S3.py:355: local variable 'headers' is assigned to but never used\r\n./S3/S3.py:374: local variable 'headers' is assigned to but never used\r\n./S3/S3.py:393: local variable 'headers' is assigned to but never used\r\n./S3/S3.py:406: local variable 'headers' is assigned to but never used\r\n./S3/S3.py:726: local variable 'acl_response' is assigned to but never used\r\n./S3/S3.py:734: local variable 'response_delete' is assigned to but never used\r\n./S3/S3.py:761: local variable 'headers' is assigned to but never used\r\n./S3/S3.py:1210: local variable 'chunk_size' is assigned to but never used\r\n./S3/AccessLog.py:46: local variable 'el' is assigned to but never used\r\n./S3/AccessLog.py:81: redefinition of unused 'S3Uri' from line 7\r\n./S3/Config.py:8: 'info' imported but unused\r\n./S3/Config.py:132: local variable 'e' is assigned to but never used\r\n./S3/Config.py:281: local variable 'e' is assigned to but never used\r\n./S3/MultiPart.py:10: 'S3UploadError' imported but unused\r\n./S3/Exceptions.py:8: 'info' imported but unused\r\n./S3/Exceptions.py:8: 'warning' imported but unused\r\n./S3/Exceptions.py:15: 'ET' imported but unused\r\n./S3/Exceptions.py:100: redefinition of unused 'info' from line 8\r\n./S3/S3Uri.py:10: 'BidirMap' imported but unused\r\n./S3/S3Uri.py:11: 'debug' imported but unused\r\n./S3/S3Uri.py:12: 'S3' imported but unused\r\n./S3/S3Uri.py:13: 'check_bucket_name_dns_conformity' imported but unused\r\n./S3/S3Uri.py:35: local variable 'e' is assigned to but never used\r\n./S3/ConnMan.py:10: 'urlparse' imported but unused\r\n./S3/ConnMan.py:12: 'info' imported but unused\r\n./S3/ConnMan.py:12: 'error' imported but unused\r\n./S3/ConnMan.py:12: 'warning' imported but unused\r\n./S3/Crypto.py:15: 'os' imported but unused\r\n./S3/Crypto.py:25: 'md5' imported but unused\r\n./S3/SortedDict.py:8: 'Utils' imported but unused\r\n./S3/HashCache.py:49: local variable 'p' is assigned to but never used\r\n./S3/CloudFront.py:9: 'httplib' imported but unused\r\n./S3/CloudFront.py:21: 'from Exceptions import *' used; unable to detect undefined names\r\n./S3/CloudFront.py:25: 'fetch_remote_list' imported but unused\r\n./S3/CloudFront.py:726: local variable 'e' is assigned to but never used\r\n```\r\n```\r\npep8 --ignore W191\r\n./setup.py:9:80: E501 line too long (95 > 79 characters)\r\n./setup.py:28:5: E265 block comment should start with '# '\r\n./setup.py:29:5: E265 block comment should start with '# '\r\n./setup.py:30:5: E265 block comment should start with '# '\r\n./setup.py:31:5: E265 block comment should start with '# '\r\n./setup.py:37:1: E265 block comment should start with '# '\r\n./setup.py:38:1: E265 block comment should start with '# '\r\n[snip]\r\n```\r\n\r\nthanks"}}