{"action":"created","comment":{"url":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/comments/37144218","id":37144218,"diff_hunk":"@@ -11,4 +20,39 @@ module.exports =\n         'Available codes: https://pypi.python.org/pypi/pep257#error-codes')\n \n   activate: ->\n-    console.log 'activate linter-pep257'\n+    @subscriptions = new CompositeDisposable\n+    @subscriptions.add atom.config.observe 'linter-pep257.executablePath',\n+      (executablePath) =>\n+        @executablePath = executablePath\n+    @subscriptions.add atom.config.observe 'linter-pep257.ignoreCodes',\n+      (ignoreCodes) =>\n+        @ignoreCodes = ignoreCodes\n+\n+  deactivate: ->\n+    @subscriptions.dispose()\n+\n+  provideLinter: ->\n+    provider =\n+      grammarScopes: ['source.python']\n+      scope: 'file' # or 'project'\n+      lintOnFly: true # must be false for scope: 'project'\n+      cmd: @executablePath","path":"lib/init.coffee","position":38,"original_position":38,"commit_id":"70c4c354c45b61924097c54830adae44e459c266","original_commit_id":"70c4c354c45b61924097c54830adae44e459c266","user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"body":"You can just remove this and the one like below","created_at":"2015-08-16T09:50:50Z","updated_at":"2015-08-16T09:50:50Z","html_url":"https://github.com/AtomLinter/linter-pep257/pull/14#discussion_r37144218","pull_request_url":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/comments/37144218"},"html":{"href":"https://github.com/AtomLinter/linter-pep257/pull/14#discussion_r37144218"},"pull_request":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/14","id":42202700,"html_url":"https://github.com/AtomLinter/linter-pep257/pull/14","diff_url":"https://github.com/AtomLinter/linter-pep257/pull/14.diff","patch_url":"https://github.com/AtomLinter/linter-pep257/pull/14.patch","issue_url":"https://api.github.com/repos/AtomLinter/linter-pep257/issues/14","number":14,"state":"open","locked":false,"title":"Added support for new Atom-Linter API","user":{"login":"sfodje","id":4846232,"avatar_url":"https://avatars.githubusercontent.com/u/4846232?v=3","gravatar_id":"","url":"https://api.github.com/users/sfodje","html_url":"https://github.com/sfodje","followers_url":"https://api.github.com/users/sfodje/followers","following_url":"https://api.github.com/users/sfodje/following{/other_user}","gists_url":"https://api.github.com/users/sfodje/gists{/gist_id}","starred_url":"https://api.github.com/users/sfodje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfodje/subscriptions","organizations_url":"https://api.github.com/users/sfodje/orgs","repos_url":"https://api.github.com/users/sfodje/repos","events_url":"https://api.github.com/users/sfodje/events{/privacy}","received_events_url":"https://api.github.com/users/sfodje/received_events","type":"User","site_admin":false},"body":"        - Following the guidelines for the new API, a lot had to be rewritten\r\n\t- First time writing in coffeescript, so could use feedback on best practices, etc.","created_at":"2015-08-12T04:06:51Z","updated_at":"2015-08-16T09:50:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7d636bdbb4de2bf7deed6370988c781cc3dff9a","assignee":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/14/commits","review_comments_url":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/14/comments","review_comment_url":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AtomLinter/linter-pep257/issues/14/comments","statuses_url":"https://api.github.com/repos/AtomLinter/linter-pep257/statuses/70c4c354c45b61924097c54830adae44e459c266","head":{"label":"sfodje:add_support_for_new_atom_linter_api","ref":"add_support_for_new_atom_linter_api","sha":"70c4c354c45b61924097c54830adae44e459c266","user":{"login":"sfodje","id":4846232,"avatar_url":"https://avatars.githubusercontent.com/u/4846232?v=3","gravatar_id":"","url":"https://api.github.com/users/sfodje","html_url":"https://github.com/sfodje","followers_url":"https://api.github.com/users/sfodje/followers","following_url":"https://api.github.com/users/sfodje/following{/other_user}","gists_url":"https://api.github.com/users/sfodje/gists{/gist_id}","starred_url":"https://api.github.com/users/sfodje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfodje/subscriptions","organizations_url":"https://api.github.com/users/sfodje/orgs","repos_url":"https://api.github.com/users/sfodje/repos","events_url":"https://api.github.com/users/sfodje/events{/privacy}","received_events_url":"https://api.github.com/users/sfodje/received_events","type":"User","site_admin":false},"repo":{"id":40579207,"name":"linter-pep257","full_name":"sfodje/linter-pep257","owner":{"login":"sfodje","id":4846232,"avatar_url":"https://avatars.githubusercontent.com/u/4846232?v=3","gravatar_id":"","url":"https://api.github.com/users/sfodje","html_url":"https://github.com/sfodje","followers_url":"https://api.github.com/users/sfodje/followers","following_url":"https://api.github.com/users/sfodje/following{/other_user}","gists_url":"https://api.github.com/users/sfodje/gists{/gist_id}","starred_url":"https://api.github.com/users/sfodje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfodje/subscriptions","organizations_url":"https://api.github.com/users/sfodje/orgs","repos_url":"https://api.github.com/users/sfodje/repos","events_url":"https://api.github.com/users/sfodje/events{/privacy}","received_events_url":"https://api.github.com/users/sfodje/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sfodje/linter-pep257","description":"Lint Python docstrings on the fly.","fork":true,"url":"https://api.github.com/repos/sfodje/linter-pep257","forks_url":"https://api.github.com/repos/sfodje/linter-pep257/forks","keys_url":"https://api.github.com/repos/sfodje/linter-pep257/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfodje/linter-pep257/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfodje/linter-pep257/teams","hooks_url":"https://api.github.com/repos/sfodje/linter-pep257/hooks","issue_events_url":"https://api.github.com/repos/sfodje/linter-pep257/issues/events{/number}","events_url":"https://api.github.com/repos/sfodje/linter-pep257/events","assignees_url":"https://api.github.com/repos/sfodje/linter-pep257/assignees{/user}","branches_url":"https://api.github.com/repos/sfodje/linter-pep257/branches{/branch}","tags_url":"https://api.github.com/repos/sfodje/linter-pep257/tags","blobs_url":"https://api.github.com/repos/sfodje/linter-pep257/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfodje/linter-pep257/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfodje/linter-pep257/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfodje/linter-pep257/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfodje/linter-pep257/statuses/{sha}","languages_url":"https://api.github.com/repos/sfodje/linter-pep257/languages","stargazers_url":"https://api.github.com/repos/sfodje/linter-pep257/stargazers","contributors_url":"https://api.github.com/repos/sfodje/linter-pep257/contributors","subscribers_url":"https://api.github.com/repos/sfodje/linter-pep257/subscribers","subscription_url":"https://api.github.com/repos/sfodje/linter-pep257/subscription","commits_url":"https://api.github.com/repos/sfodje/linter-pep257/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfodje/linter-pep257/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfodje/linter-pep257/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfodje/linter-pep257/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfodje/linter-pep257/contents/{+path}","compare_url":"https://api.github.com/repos/sfodje/linter-pep257/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfodje/linter-pep257/merges","archive_url":"https://api.github.com/repos/sfodje/linter-pep257/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfodje/linter-pep257/downloads","issues_url":"https://api.github.com/repos/sfodje/linter-pep257/issues{/number}","pulls_url":"https://api.github.com/repos/sfodje/linter-pep257/pulls{/number}","milestones_url":"https://api.github.com/repos/sfodje/linter-pep257/milestones{/number}","notifications_url":"https://api.github.com/repos/sfodje/linter-pep257/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfodje/linter-pep257/labels{/name}","releases_url":"https://api.github.com/repos/sfodje/linter-pep257/releases{/id}","created_at":"2015-08-12T03:53:34Z","updated_at":"2015-08-12T03:53:35Z","pushed_at":"2015-08-16T04:04:25Z","git_url":"git://github.com/sfodje/linter-pep257.git","ssh_url":"git@github.com:sfodje/linter-pep257.git","clone_url":"https://github.com/sfodje/linter-pep257.git","svn_url":"https://github.com/sfodje/linter-pep257","homepage":"","size":124,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"AtomLinter:master","ref":"master","sha":"c6c66f1aa0026586c7597918716e1e8ddf7c6031","user":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"repo":{"id":19714179,"name":"linter-pep257","full_name":"AtomLinter/linter-pep257","owner":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtomLinter/linter-pep257","description":"Lint Python docstrings on the fly.","fork":false,"url":"https://api.github.com/repos/AtomLinter/linter-pep257","forks_url":"https://api.github.com/repos/AtomLinter/linter-pep257/forks","keys_url":"https://api.github.com/repos/AtomLinter/linter-pep257/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtomLinter/linter-pep257/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtomLinter/linter-pep257/teams","hooks_url":"https://api.github.com/repos/AtomLinter/linter-pep257/hooks","issue_events_url":"https://api.github.com/repos/AtomLinter/linter-pep257/issues/events{/number}","events_url":"https://api.github.com/repos/AtomLinter/linter-pep257/events","assignees_url":"https://api.github.com/repos/AtomLinter/linter-pep257/assignees{/user}","branches_url":"https://api.github.com/repos/AtomLinter/linter-pep257/branches{/branch}","tags_url":"https://api.github.com/repos/AtomLinter/linter-pep257/tags","blobs_url":"https://api.github.com/repos/AtomLinter/linter-pep257/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtomLinter/linter-pep257/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtomLinter/linter-pep257/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtomLinter/linter-pep257/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtomLinter/linter-pep257/statuses/{sha}","languages_url":"https://api.github.com/repos/AtomLinter/linter-pep257/languages","stargazers_url":"https://api.github.com/repos/AtomLinter/linter-pep257/stargazers","contributors_url":"https://api.github.com/repos/AtomLinter/linter-pep257/contributors","subscribers_url":"https://api.github.com/repos/AtomLinter/linter-pep257/subscribers","subscription_url":"https://api.github.com/repos/AtomLinter/linter-pep257/subscription","commits_url":"https://api.github.com/repos/AtomLinter/linter-pep257/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtomLinter/linter-pep257/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtomLinter/linter-pep257/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtomLinter/linter-pep257/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtomLinter/linter-pep257/contents/{+path}","compare_url":"https://api.github.com/repos/AtomLinter/linter-pep257/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtomLinter/linter-pep257/merges","archive_url":"https://api.github.com/repos/AtomLinter/linter-pep257/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtomLinter/linter-pep257/downloads","issues_url":"https://api.github.com/repos/AtomLinter/linter-pep257/issues{/number}","pulls_url":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls{/number}","milestones_url":"https://api.github.com/repos/AtomLinter/linter-pep257/milestones{/number}","notifications_url":"https://api.github.com/repos/AtomLinter/linter-pep257/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtomLinter/linter-pep257/labels{/name}","releases_url":"https://api.github.com/repos/AtomLinter/linter-pep257/releases{/id}","created_at":"2014-05-12T20:26:57Z","updated_at":"2015-07-11T03:32:10Z","pushed_at":"2015-08-16T04:04:25Z","git_url":"git://github.com/AtomLinter/linter-pep257.git","ssh_url":"git@github.com:AtomLinter/linter-pep257.git","clone_url":"https://github.com/AtomLinter/linter-pep257.git","svn_url":"https://github.com/AtomLinter/linter-pep257","homepage":"","size":251,"stargazers_count":3,"watchers_count":3,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/14"},"html":{"href":"https://github.com/AtomLinter/linter-pep257/pull/14"},"issue":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/issues/14"},"comments":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/AtomLinter/linter-pep257/statuses/70c4c354c45b61924097c54830adae44e459c266"}}}}