{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/cmdb/pulls/27","id":64630678,"html_url":"https://github.com/Financial-Times/cmdb/pull/27","diff_url":"https://github.com/Financial-Times/cmdb/pull/27.diff","patch_url":"https://github.com/Financial-Times/cmdb/pull/27.patch","issue_url":"https://api.github.com/repos/Financial-Times/cmdb/issues/27","number":27,"state":"open","locked":false,"title":"Feature/plyinting","user":{"login":"captain-sysadmin","id":11178482,"avatar_url":"https://avatars.githubusercontent.com/u/11178482?v=3","gravatar_id":"","url":"https://api.github.com/users/captain-sysadmin","html_url":"https://github.com/captain-sysadmin","followers_url":"https://api.github.com/users/captain-sysadmin/followers","following_url":"https://api.github.com/users/captain-sysadmin/following{/other_user}","gists_url":"https://api.github.com/users/captain-sysadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/captain-sysadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/captain-sysadmin/subscriptions","organizations_url":"https://api.github.com/users/captain-sysadmin/orgs","repos_url":"https://api.github.com/users/captain-sysadmin/repos","events_url":"https://api.github.com/users/captain-sysadmin/events{/privacy}","received_events_url":"https://api.github.com/users/captain-sysadmin/received_events","type":"User","site_admin":false},"body":"This is the output of:\r\n\r\npylint --ignore=migrations,tests_relationships.py,tests_dataitems.py,tests_attributeTypes.py,tests_itemattributes.py,tests_relTypes.py,tests_datatypes.py,authenticatedtestcase.py,tests_cmdbuser.py --load-plugins pylint_django  --output-format=html cmdbv2api/ \r\n\r\nBasically I've kneecapped most of the errors however there are a few niggling problems. urls.py imports the errors from elsewhere, so there isn't anything really wrong with it. We need to decide if we are happy with overwriting the built in help() or not.\r\n\r\nModels.py has some harder problems. I'm not really sure why super() has been used in the way it has. Unless django requires it, I'd suggest not doing it like that. However I'm probably overlooking something obvious. \r\n\r\n","created_at":"2016-03-30T13:52:52Z","updated_at":"2016-03-30T13:52:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/cmdb/pulls/27/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/cmdb/pulls/27/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/cmdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/cmdb/issues/27/comments","statuses_url":"https://api.github.com/repos/Financial-Times/cmdb/statuses/0d5bca3c06d3fa6800bb7e3cef4c8c20c87c641a","head":{"label":"Financial-Times:feature/plyinting","ref":"feature/plyinting","sha":"0d5bca3c06d3fa6800bb7e3cef4c8c20c87c641a","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":52922924,"name":"cmdb","full_name":"Financial-Times/cmdb","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/cmdb","description":"Change management Database, the oracle for all things","fork":false,"url":"https://api.github.com/repos/Financial-Times/cmdb","forks_url":"https://api.github.com/repos/Financial-Times/cmdb/forks","keys_url":"https://api.github.com/repos/Financial-Times/cmdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/cmdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/cmdb/teams","hooks_url":"https://api.github.com/repos/Financial-Times/cmdb/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/cmdb/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/cmdb/events","assignees_url":"https://api.github.com/repos/Financial-Times/cmdb/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/cmdb/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/cmdb/tags","blobs_url":"https://api.github.com/repos/Financial-Times/cmdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/cmdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/cmdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/cmdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/cmdb/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/cmdb/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/cmdb/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/cmdb/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/cmdb/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/cmdb/subscription","commits_url":"https://api.github.com/repos/Financial-Times/cmdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/cmdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/cmdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/cmdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/cmdb/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/cmdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/cmdb/merges","archive_url":"https://api.github.com/repos/Financial-Times/cmdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/cmdb/downloads","issues_url":"https://api.github.com/repos/Financial-Times/cmdb/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/cmdb/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/cmdb/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/cmdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/cmdb/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/cmdb/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/cmdb/deployments","created_at":"2016-03-02T01:17:11Z","updated_at":"2016-03-16T14:41:25Z","pushed_at":"2016-03-30T13:52:52Z","git_url":"git://github.com/Financial-Times/cmdb.git","ssh_url":"git@github.com:Financial-Times/cmdb.git","clone_url":"https://github.com/Financial-Times/cmdb.git","svn_url":"https://github.com/Financial-Times/cmdb","homepage":"","size":324,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"a18636601eb6f5ec8a21e5a0df18a7b3db3ef274","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":52922924,"name":"cmdb","full_name":"Financial-Times/cmdb","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/cmdb","description":"Change management Database, the oracle for all things","fork":false,"url":"https://api.github.com/repos/Financial-Times/cmdb","forks_url":"https://api.github.com/repos/Financial-Times/cmdb/forks","keys_url":"https://api.github.com/repos/Financial-Times/cmdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/cmdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/cmdb/teams","hooks_url":"https://api.github.com/repos/Financial-Times/cmdb/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/cmdb/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/cmdb/events","assignees_url":"https://api.github.com/repos/Financial-Times/cmdb/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/cmdb/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/cmdb/tags","blobs_url":"https://api.github.com/repos/Financial-Times/cmdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/cmdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/cmdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/cmdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/cmdb/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/cmdb/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/cmdb/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/cmdb/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/cmdb/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/cmdb/subscription","commits_url":"https://api.github.com/repos/Financial-Times/cmdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/cmdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/cmdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/cmdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/cmdb/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/cmdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/cmdb/merges","archive_url":"https://api.github.com/repos/Financial-Times/cmdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/cmdb/downloads","issues_url":"https://api.github.com/repos/Financial-Times/cmdb/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/cmdb/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/cmdb/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/cmdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/cmdb/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/cmdb/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/cmdb/deployments","created_at":"2016-03-02T01:17:11Z","updated_at":"2016-03-16T14:41:25Z","pushed_at":"2016-03-30T13:52:52Z","git_url":"git://github.com/Financial-Times/cmdb.git","ssh_url":"git@github.com:Financial-Times/cmdb.git","clone_url":"https://github.com/Financial-Times/cmdb.git","svn_url":"https://github.com/Financial-Times/cmdb","homepage":"","size":324,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/cmdb/pulls/27"},"html":{"href":"https://github.com/Financial-Times/cmdb/pull/27"},"issue":{"href":"https://api.github.com/repos/Financial-Times/cmdb/issues/27"},"comments":{"href":"https://api.github.com/repos/Financial-Times/cmdb/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/cmdb/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/cmdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/cmdb/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/cmdb/statuses/0d5bca3c06d3fa6800bb7e3cef4c8c20c87c641a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":120,"deletions":116,"changed_files":6}}