{"action":"created","comment":{"url":"https://api.github.com/repos/tjcsl/ion/pulls/comments/86274204","pull_request_review_id":6939939,"id":86274204,"diff_hunk":"@@ -554,25 +548,19 @@ def format_courselength(self, data):\n \n     def format_quarters(self, data):\n         if data[\"TermCode\"] == \"YR\":\n-            return (\"quarterNumber: 1\\n\"\n-                    \"quarterNumber: 2\\n\"\n-                    \"quarterNumber: 3\\n\"\n-                    \"quarterNumber: 4\")\n+            return (\"quarterNumber: 1\\n\" \"quarterNumber: 2\\n\" \"quarterNumber: 3\\n\" \"quarterNumber: 4\")\n \n         if data[\"TermCode\"] == \"S1\":\n-            return (\"quarterNumber: 1\\n\"\n-                    \"quarterNumber: 2\")\n+            return (\"quarterNumber: 1\\n\" \"quarterNumber: 2\")\n \n         if data[\"TermCode\"] == \"S2\":\n-            return (\"quarterNumber: 3\\n\"\n-                    \"quarterNumber: 4\")\n+            return (\"quarterNumber: 3\\n\" \"quarterNumber: 4\")\n \n     def format_periods(self, data):\n         if data[\"Period\"] == data[\"EndPeriod\"]:\n             return \"classPeriod: {}\".format(data[\"Period\"])\n \n-        return (\"classPeriod: {}\\n\"\n-                \"classPeriod: {}\".format(data[\"Period\"], data[\"EndPeriod\"]))\n+        return (\"classPeriod: {}\\n\" \"classPeriod: {}\".format(data[\"Period\"], data[\"EndPeriod\"]))","path":"intranet/apps/dataimport/management/commands/import_sis.py","position":77,"original_position":77,"commit_id":"03c5191e7927871278fb25f07a2a2949104c609d","original_commit_id":"03c5191e7927871278fb25f07a2a2949104c609d","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Unnecessary parens after 'return' keyword](https://www.codacy.com/app/tjcsl/ion/file/4352637396/issues/source?bid=3176160&fileBranchId=3872470#l563)","created_at":"2016-11-03T01:10:08Z","updated_at":"2016-11-03T01:10:08Z","html_url":"https://github.com/tjcsl/ion/pull/497#discussion_r86274204","pull_request_url":"https://api.github.com/repos/tjcsl/ion/pulls/497","_links":{"self":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/comments/86274204"},"html":{"href":"https://github.com/tjcsl/ion/pull/497#discussion_r86274204"},"pull_request":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/497"}}},"pull_request":{"url":"https://api.github.com/repos/tjcsl/ion/pulls/497","id":92079869,"html_url":"https://github.com/tjcsl/ion/pull/497","diff_url":"https://github.com/tjcsl/ion/pull/497.diff","patch_url":"https://github.com/tjcsl/ion/pull/497.patch","issue_url":"https://api.github.com/repos/tjcsl/ion/issues/497","number":497,"state":"open","locked":false,"title":"[Tracking] Dev","user":{"login":"ovkulkarni","id":16127719,"avatar_url":"https://avatars.githubusercontent.com/u/16127719?v=3","gravatar_id":"","url":"https://api.github.com/users/ovkulkarni","html_url":"https://github.com/ovkulkarni","followers_url":"https://api.github.com/users/ovkulkarni/followers","following_url":"https://api.github.com/users/ovkulkarni/following{/other_user}","gists_url":"https://api.github.com/users/ovkulkarni/gists{/gist_id}","starred_url":"https://api.github.com/users/ovkulkarni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ovkulkarni/subscriptions","organizations_url":"https://api.github.com/users/ovkulkarni/orgs","repos_url":"https://api.github.com/users/ovkulkarni/repos","events_url":"https://api.github.com/users/ovkulkarni/events{/privacy}","received_events_url":"https://api.github.com/users/ovkulkarni/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-03T00:17:13Z","updated_at":"2016-11-03T01:10:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e981eeb8b2549e75c98c23b8aaff033473275255","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tjcsl/ion/pulls/497/commits","review_comments_url":"https://api.github.com/repos/tjcsl/ion/pulls/497/comments","review_comment_url":"https://api.github.com/repos/tjcsl/ion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tjcsl/ion/issues/497/comments","statuses_url":"https://api.github.com/repos/tjcsl/ion/statuses/03c5191e7927871278fb25f07a2a2949104c609d","head":{"label":"tjcsl:dev","ref":"dev","sha":"03c5191e7927871278fb25f07a2a2949104c609d","user":{"login":"tjcsl","id":5313020,"avatar_url":"https://avatars.githubusercontent.com/u/5313020?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcsl","html_url":"https://github.com/tjcsl","followers_url":"https://api.github.com/users/tjcsl/followers","following_url":"https://api.github.com/users/tjcsl/following{/other_user}","gists_url":"https://api.github.com/users/tjcsl/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcsl/subscriptions","organizations_url":"https://api.github.com/users/tjcsl/orgs","repos_url":"https://api.github.com/users/tjcsl/repos","events_url":"https://api.github.com/users/tjcsl/events{/privacy}","received_events_url":"https://api.github.com/users/tjcsl/received_events","type":"Organization","site_admin":false},"repo":{"id":22979044,"name":"ion","full_name":"tjcsl/ion","owner":{"login":"tjcsl","id":5313020,"avatar_url":"https://avatars.githubusercontent.com/u/5313020?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcsl","html_url":"https://github.com/tjcsl","followers_url":"https://api.github.com/users/tjcsl/followers","following_url":"https://api.github.com/users/tjcsl/following{/other_user}","gists_url":"https://api.github.com/users/tjcsl/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcsl/subscriptions","organizations_url":"https://api.github.com/users/tjcsl/orgs","repos_url":"https://api.github.com/users/tjcsl/repos","events_url":"https://api.github.com/users/tjcsl/events{/privacy}","received_events_url":"https://api.github.com/users/tjcsl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tjcsl/ion","description":"TJ Intranet 3 (Ion)","fork":false,"url":"https://api.github.com/repos/tjcsl/ion","forks_url":"https://api.github.com/repos/tjcsl/ion/forks","keys_url":"https://api.github.com/repos/tjcsl/ion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjcsl/ion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjcsl/ion/teams","hooks_url":"https://api.github.com/repos/tjcsl/ion/hooks","issue_events_url":"https://api.github.com/repos/tjcsl/ion/issues/events{/number}","events_url":"https://api.github.com/repos/tjcsl/ion/events","assignees_url":"https://api.github.com/repos/tjcsl/ion/assignees{/user}","branches_url":"https://api.github.com/repos/tjcsl/ion/branches{/branch}","tags_url":"https://api.github.com/repos/tjcsl/ion/tags","blobs_url":"https://api.github.com/repos/tjcsl/ion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjcsl/ion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjcsl/ion/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjcsl/ion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjcsl/ion/statuses/{sha}","languages_url":"https://api.github.com/repos/tjcsl/ion/languages","stargazers_url":"https://api.github.com/repos/tjcsl/ion/stargazers","contributors_url":"https://api.github.com/repos/tjcsl/ion/contributors","subscribers_url":"https://api.github.com/repos/tjcsl/ion/subscribers","subscription_url":"https://api.github.com/repos/tjcsl/ion/subscription","commits_url":"https://api.github.com/repos/tjcsl/ion/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjcsl/ion/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjcsl/ion/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjcsl/ion/issues/comments{/number}","contents_url":"https://api.github.com/repos/tjcsl/ion/contents/{+path}","compare_url":"https://api.github.com/repos/tjcsl/ion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjcsl/ion/merges","archive_url":"https://api.github.com/repos/tjcsl/ion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjcsl/ion/downloads","issues_url":"https://api.github.com/repos/tjcsl/ion/issues{/number}","pulls_url":"https://api.github.com/repos/tjcsl/ion/pulls{/number}","milestones_url":"https://api.github.com/repos/tjcsl/ion/milestones{/number}","notifications_url":"https://api.github.com/repos/tjcsl/ion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjcsl/ion/labels{/name}","releases_url":"https://api.github.com/repos/tjcsl/ion/releases{/id}","deployments_url":"https://api.github.com/repos/tjcsl/ion/deployments","created_at":"2014-08-15T04:59:41Z","updated_at":"2016-10-26T18:50:07Z","pushed_at":"2016-11-03T01:07:12Z","git_url":"git://github.com/tjcsl/ion.git","ssh_url":"git@github.com:tjcsl/ion.git","clone_url":"https://github.com/tjcsl/ion.git","svn_url":"https://github.com/tjcsl/ion","homepage":"https://ion.tjhsst.edu","size":107154,"stargazers_count":30,"watchers_count":30,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":76,"forks":13,"open_issues":76,"watchers":30,"default_branch":"master"}},"base":{"label":"tjcsl:master","ref":"master","sha":"9e53ee9c3a55baca0fde03d6fab3e0cf8fc57f57","user":{"login":"tjcsl","id":5313020,"avatar_url":"https://avatars.githubusercontent.com/u/5313020?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcsl","html_url":"https://github.com/tjcsl","followers_url":"https://api.github.com/users/tjcsl/followers","following_url":"https://api.github.com/users/tjcsl/following{/other_user}","gists_url":"https://api.github.com/users/tjcsl/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcsl/subscriptions","organizations_url":"https://api.github.com/users/tjcsl/orgs","repos_url":"https://api.github.com/users/tjcsl/repos","events_url":"https://api.github.com/users/tjcsl/events{/privacy}","received_events_url":"https://api.github.com/users/tjcsl/received_events","type":"Organization","site_admin":false},"repo":{"id":22979044,"name":"ion","full_name":"tjcsl/ion","owner":{"login":"tjcsl","id":5313020,"avatar_url":"https://avatars.githubusercontent.com/u/5313020?v=3","gravatar_id":"","url":"https://api.github.com/users/tjcsl","html_url":"https://github.com/tjcsl","followers_url":"https://api.github.com/users/tjcsl/followers","following_url":"https://api.github.com/users/tjcsl/following{/other_user}","gists_url":"https://api.github.com/users/tjcsl/gists{/gist_id}","starred_url":"https://api.github.com/users/tjcsl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjcsl/subscriptions","organizations_url":"https://api.github.com/users/tjcsl/orgs","repos_url":"https://api.github.com/users/tjcsl/repos","events_url":"https://api.github.com/users/tjcsl/events{/privacy}","received_events_url":"https://api.github.com/users/tjcsl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tjcsl/ion","description":"TJ Intranet 3 (Ion)","fork":false,"url":"https://api.github.com/repos/tjcsl/ion","forks_url":"https://api.github.com/repos/tjcsl/ion/forks","keys_url":"https://api.github.com/repos/tjcsl/ion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjcsl/ion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjcsl/ion/teams","hooks_url":"https://api.github.com/repos/tjcsl/ion/hooks","issue_events_url":"https://api.github.com/repos/tjcsl/ion/issues/events{/number}","events_url":"https://api.github.com/repos/tjcsl/ion/events","assignees_url":"https://api.github.com/repos/tjcsl/ion/assignees{/user}","branches_url":"https://api.github.com/repos/tjcsl/ion/branches{/branch}","tags_url":"https://api.github.com/repos/tjcsl/ion/tags","blobs_url":"https://api.github.com/repos/tjcsl/ion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjcsl/ion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjcsl/ion/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjcsl/ion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjcsl/ion/statuses/{sha}","languages_url":"https://api.github.com/repos/tjcsl/ion/languages","stargazers_url":"https://api.github.com/repos/tjcsl/ion/stargazers","contributors_url":"https://api.github.com/repos/tjcsl/ion/contributors","subscribers_url":"https://api.github.com/repos/tjcsl/ion/subscribers","subscription_url":"https://api.github.com/repos/tjcsl/ion/subscription","commits_url":"https://api.github.com/repos/tjcsl/ion/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjcsl/ion/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjcsl/ion/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjcsl/ion/issues/comments{/number}","contents_url":"https://api.github.com/repos/tjcsl/ion/contents/{+path}","compare_url":"https://api.github.com/repos/tjcsl/ion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjcsl/ion/merges","archive_url":"https://api.github.com/repos/tjcsl/ion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjcsl/ion/downloads","issues_url":"https://api.github.com/repos/tjcsl/ion/issues{/number}","pulls_url":"https://api.github.com/repos/tjcsl/ion/pulls{/number}","milestones_url":"https://api.github.com/repos/tjcsl/ion/milestones{/number}","notifications_url":"https://api.github.com/repos/tjcsl/ion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjcsl/ion/labels{/name}","releases_url":"https://api.github.com/repos/tjcsl/ion/releases{/id}","deployments_url":"https://api.github.com/repos/tjcsl/ion/deployments","created_at":"2014-08-15T04:59:41Z","updated_at":"2016-10-26T18:50:07Z","pushed_at":"2016-11-03T01:07:12Z","git_url":"git://github.com/tjcsl/ion.git","ssh_url":"git@github.com:tjcsl/ion.git","clone_url":"https://github.com/tjcsl/ion.git","svn_url":"https://github.com/tjcsl/ion","homepage":"https://ion.tjhsst.edu","size":107154,"stargazers_count":30,"watchers_count":30,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":13,"mirror_url":null,"open_issues_count":76,"forks":13,"open_issues":76,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/497"},"html":{"href":"https://github.com/tjcsl/ion/pull/497"},"issue":{"href":"https://api.github.com/repos/tjcsl/ion/issues/497"},"comments":{"href":"https://api.github.com/repos/tjcsl/ion/issues/497/comments"},"review_comments":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/497/comments"},"review_comment":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tjcsl/ion/pulls/497/commits"},"statuses":{"href":"https://api.github.com/repos/tjcsl/ion/statuses/03c5191e7927871278fb25f07a2a2949104c609d"}}}}
{"actor":{"display_login":"codacy-bot"}}