{"action":"closed","number":1435,"pull_request":{"url":"https://api.github.com/repos/networkx/networkx/pulls/1435","id":32051097,"html_url":"https://github.com/networkx/networkx/pull/1435","diff_url":"https://github.com/networkx/networkx/pull/1435.diff","patch_url":"https://github.com/networkx/networkx/pull/1435.patch","issue_url":"https://api.github.com/repos/networkx/networkx/issues/1435","number":1435,"state":"closed","locked":false,"title":"Pep8","user":{"login":"gcetusic","id":1023690,"avatar_url":"https://avatars.githubusercontent.com/u/1023690?v=3","gravatar_id":"","url":"https://api.github.com/users/gcetusic","html_url":"https://github.com/gcetusic","followers_url":"https://api.github.com/users/gcetusic/followers","following_url":"https://api.github.com/users/gcetusic/following{/other_user}","gists_url":"https://api.github.com/users/gcetusic/gists{/gist_id}","starred_url":"https://api.github.com/users/gcetusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcetusic/subscriptions","organizations_url":"https://api.github.com/users/gcetusic/orgs","repos_url":"https://api.github.com/users/gcetusic/repos","events_url":"https://api.github.com/users/gcetusic/events{/privacy}","received_events_url":"https://api.github.com/users/gcetusic/received_events","type":"User","site_admin":false},"body":"For programmers that use linter tools in their editors, code that  doesn't conform to PEP8 (https://www.python.org/dev/peps/pep-0008/) tends to become somewhat obtrusive. A perfect example is SublimeLinter. In any case, Python code should conform to PEP8 and NetworkX lacks this in some parts of its code. This PR more or less fixes this in base classes (classes folder). Any changes to other parts of the code should also incorporate pep8 style fixes around the area that's being edited.","created_at":"2015-03-26T19:18:22Z","updated_at":"2015-04-09T17:15:25Z","closed_at":"2015-04-09T17:15:25Z","merged_at":"2015-04-09T17:15:25Z","merge_commit_sha":"1f6a83e23844062e54ebaee04958644704eb20b4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/networkx/networkx/pulls/1435/commits","review_comments_url":"https://api.github.com/repos/networkx/networkx/pulls/1435/comments","review_comment_url":"https://api.github.com/repos/networkx/networkx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/networkx/networkx/issues/1435/comments","statuses_url":"https://api.github.com/repos/networkx/networkx/statuses/388326b4e00bc979e954957bef977234c6f00044","head":{"label":"gcetusic:pep8","ref":"pep8","sha":"388326b4e00bc979e954957bef977234c6f00044","user":{"login":"gcetusic","id":1023690,"avatar_url":"https://avatars.githubusercontent.com/u/1023690?v=3","gravatar_id":"","url":"https://api.github.com/users/gcetusic","html_url":"https://github.com/gcetusic","followers_url":"https://api.github.com/users/gcetusic/followers","following_url":"https://api.github.com/users/gcetusic/following{/other_user}","gists_url":"https://api.github.com/users/gcetusic/gists{/gist_id}","starred_url":"https://api.github.com/users/gcetusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcetusic/subscriptions","organizations_url":"https://api.github.com/users/gcetusic/orgs","repos_url":"https://api.github.com/users/gcetusic/repos","events_url":"https://api.github.com/users/gcetusic/events{/privacy}","received_events_url":"https://api.github.com/users/gcetusic/received_events","type":"User","site_admin":false},"repo":{"id":31020424,"name":"networkx","full_name":"gcetusic/networkx","owner":{"login":"gcetusic","id":1023690,"avatar_url":"https://avatars.githubusercontent.com/u/1023690?v=3","gravatar_id":"","url":"https://api.github.com/users/gcetusic","html_url":"https://github.com/gcetusic","followers_url":"https://api.github.com/users/gcetusic/followers","following_url":"https://api.github.com/users/gcetusic/following{/other_user}","gists_url":"https://api.github.com/users/gcetusic/gists{/gist_id}","starred_url":"https://api.github.com/users/gcetusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcetusic/subscriptions","organizations_url":"https://api.github.com/users/gcetusic/orgs","repos_url":"https://api.github.com/users/gcetusic/repos","events_url":"https://api.github.com/users/gcetusic/events{/privacy}","received_events_url":"https://api.github.com/users/gcetusic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gcetusic/networkx","description":"Official NetworkX source code repository.  ","fork":true,"url":"https://api.github.com/repos/gcetusic/networkx","forks_url":"https://api.github.com/repos/gcetusic/networkx/forks","keys_url":"https://api.github.com/repos/gcetusic/networkx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gcetusic/networkx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gcetusic/networkx/teams","hooks_url":"https://api.github.com/repos/gcetusic/networkx/hooks","issue_events_url":"https://api.github.com/repos/gcetusic/networkx/issues/events{/number}","events_url":"https://api.github.com/repos/gcetusic/networkx/events","assignees_url":"https://api.github.com/repos/gcetusic/networkx/assignees{/user}","branches_url":"https://api.github.com/repos/gcetusic/networkx/branches{/branch}","tags_url":"https://api.github.com/repos/gcetusic/networkx/tags","blobs_url":"https://api.github.com/repos/gcetusic/networkx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gcetusic/networkx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gcetusic/networkx/git/refs{/sha}","trees_url":"https://api.github.com/repos/gcetusic/networkx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gcetusic/networkx/statuses/{sha}","languages_url":"https://api.github.com/repos/gcetusic/networkx/languages","stargazers_url":"https://api.github.com/repos/gcetusic/networkx/stargazers","contributors_url":"https://api.github.com/repos/gcetusic/networkx/contributors","subscribers_url":"https://api.github.com/repos/gcetusic/networkx/subscribers","subscription_url":"https://api.github.com/repos/gcetusic/networkx/subscription","commits_url":"https://api.github.com/repos/gcetusic/networkx/commits{/sha}","git_commits_url":"https://api.github.com/repos/gcetusic/networkx/git/commits{/sha}","comments_url":"https://api.github.com/repos/gcetusic/networkx/comments{/number}","issue_comment_url":"https://api.github.com/repos/gcetusic/networkx/issues/comments{/number}","contents_url":"https://api.github.com/repos/gcetusic/networkx/contents/{+path}","compare_url":"https://api.github.com/repos/gcetusic/networkx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gcetusic/networkx/merges","archive_url":"https://api.github.com/repos/gcetusic/networkx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gcetusic/networkx/downloads","issues_url":"https://api.github.com/repos/gcetusic/networkx/issues{/number}","pulls_url":"https://api.github.com/repos/gcetusic/networkx/pulls{/number}","milestones_url":"https://api.github.com/repos/gcetusic/networkx/milestones{/number}","notifications_url":"https://api.github.com/repos/gcetusic/networkx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gcetusic/networkx/labels{/name}","releases_url":"https://api.github.com/repos/gcetusic/networkx/releases{/id}","created_at":"2015-02-19T15:03:31Z","updated_at":"2015-02-19T15:03:32Z","pushed_at":"2015-03-26T19:11:32Z","git_url":"git://github.com/gcetusic/networkx.git","ssh_url":"git@github.com:gcetusic/networkx.git","clone_url":"https://github.com/gcetusic/networkx.git","svn_url":"https://github.com/gcetusic/networkx","homepage":"http://networkx.github.io","size":12582,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"networkx:master","ref":"master","sha":"9cd652999179eb1131b157f71a346b55ea151e4a","user":{"login":"networkx","id":388785,"avatar_url":"https://avatars.githubusercontent.com/u/388785?v=3","gravatar_id":"","url":"https://api.github.com/users/networkx","html_url":"https://github.com/networkx","followers_url":"https://api.github.com/users/networkx/followers","following_url":"https://api.github.com/users/networkx/following{/other_user}","gists_url":"https://api.github.com/users/networkx/gists{/gist_id}","starred_url":"https://api.github.com/users/networkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networkx/subscriptions","organizations_url":"https://api.github.com/users/networkx/orgs","repos_url":"https://api.github.com/users/networkx/repos","events_url":"https://api.github.com/users/networkx/events{/privacy}","received_events_url":"https://api.github.com/users/networkx/received_events","type":"Organization","site_admin":false},"repo":{"id":890377,"name":"networkx","full_name":"networkx/networkx","owner":{"login":"networkx","id":388785,"avatar_url":"https://avatars.githubusercontent.com/u/388785?v=3","gravatar_id":"","url":"https://api.github.com/users/networkx","html_url":"https://github.com/networkx","followers_url":"https://api.github.com/users/networkx/followers","following_url":"https://api.github.com/users/networkx/following{/other_user}","gists_url":"https://api.github.com/users/networkx/gists{/gist_id}","starred_url":"https://api.github.com/users/networkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networkx/subscriptions","organizations_url":"https://api.github.com/users/networkx/orgs","repos_url":"https://api.github.com/users/networkx/repos","events_url":"https://api.github.com/users/networkx/events{/privacy}","received_events_url":"https://api.github.com/users/networkx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/networkx/networkx","description":"Official NetworkX source code repository.  ","fork":false,"url":"https://api.github.com/repos/networkx/networkx","forks_url":"https://api.github.com/repos/networkx/networkx/forks","keys_url":"https://api.github.com/repos/networkx/networkx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/networkx/networkx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/networkx/networkx/teams","hooks_url":"https://api.github.com/repos/networkx/networkx/hooks","issue_events_url":"https://api.github.com/repos/networkx/networkx/issues/events{/number}","events_url":"https://api.github.com/repos/networkx/networkx/events","assignees_url":"https://api.github.com/repos/networkx/networkx/assignees{/user}","branches_url":"https://api.github.com/repos/networkx/networkx/branches{/branch}","tags_url":"https://api.github.com/repos/networkx/networkx/tags","blobs_url":"https://api.github.com/repos/networkx/networkx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/networkx/networkx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/networkx/networkx/git/refs{/sha}","trees_url":"https://api.github.com/repos/networkx/networkx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/networkx/networkx/statuses/{sha}","languages_url":"https://api.github.com/repos/networkx/networkx/languages","stargazers_url":"https://api.github.com/repos/networkx/networkx/stargazers","contributors_url":"https://api.github.com/repos/networkx/networkx/contributors","subscribers_url":"https://api.github.com/repos/networkx/networkx/subscribers","subscription_url":"https://api.github.com/repos/networkx/networkx/subscription","commits_url":"https://api.github.com/repos/networkx/networkx/commits{/sha}","git_commits_url":"https://api.github.com/repos/networkx/networkx/git/commits{/sha}","comments_url":"https://api.github.com/repos/networkx/networkx/comments{/number}","issue_comment_url":"https://api.github.com/repos/networkx/networkx/issues/comments{/number}","contents_url":"https://api.github.com/repos/networkx/networkx/contents/{+path}","compare_url":"https://api.github.com/repos/networkx/networkx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/networkx/networkx/merges","archive_url":"https://api.github.com/repos/networkx/networkx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/networkx/networkx/downloads","issues_url":"https://api.github.com/repos/networkx/networkx/issues{/number}","pulls_url":"https://api.github.com/repos/networkx/networkx/pulls{/number}","milestones_url":"https://api.github.com/repos/networkx/networkx/milestones{/number}","notifications_url":"https://api.github.com/repos/networkx/networkx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/networkx/networkx/labels{/name}","releases_url":"https://api.github.com/repos/networkx/networkx/releases{/id}","created_at":"2010-09-06T00:53:44Z","updated_at":"2015-04-09T16:51:45Z","pushed_at":"2015-04-09T17:15:25Z","git_url":"git://github.com/networkx/networkx.git","ssh_url":"git@github.com:networkx/networkx.git","clone_url":"https://github.com/networkx/networkx.git","svn_url":"https://github.com/networkx/networkx","homepage":"http://networkx.github.io","size":21831,"stargazers_count":1324,"watchers_count":1324,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":418,"mirror_url":null,"open_issues_count":180,"forks":418,"open_issues":180,"watchers":1324,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/networkx/networkx/pulls/1435"},"html":{"href":"https://github.com/networkx/networkx/pull/1435"},"issue":{"href":"https://api.github.com/repos/networkx/networkx/issues/1435"},"comments":{"href":"https://api.github.com/repos/networkx/networkx/issues/1435/comments"},"review_comments":{"href":"https://api.github.com/repos/networkx/networkx/pulls/1435/comments"},"review_comment":{"href":"https://api.github.com/repos/networkx/networkx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/networkx/networkx/pulls/1435/commits"},"statuses":{"href":"https://api.github.com/repos/networkx/networkx/statuses/388326b4e00bc979e954957bef977234c6f00044"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chebee7i","id":326005,"avatar_url":"https://avatars.githubusercontent.com/u/326005?v=3","gravatar_id":"","url":"https://api.github.com/users/chebee7i","html_url":"https://github.com/chebee7i","followers_url":"https://api.github.com/users/chebee7i/followers","following_url":"https://api.github.com/users/chebee7i/following{/other_user}","gists_url":"https://api.github.com/users/chebee7i/gists{/gist_id}","starred_url":"https://api.github.com/users/chebee7i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chebee7i/subscriptions","organizations_url":"https://api.github.com/users/chebee7i/orgs","repos_url":"https://api.github.com/users/chebee7i/repos","events_url":"https://api.github.com/users/chebee7i/events{/privacy}","received_events_url":"https://api.github.com/users/chebee7i/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":4,"additions":332,"deletions":356,"changed_files":5}}