{"action":"created","comment":{"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/comments/25315443","id":25315443,"diff_hunk":"@@ -0,0 +1,25 @@\n+#!/usr/bin/env python\n+# -*- coding: utf-8 -*-\n+\"\"\"A function testing too many kittens\"\"\"\n+\n+\n+def too_many_kittens(kittens, litterboxes, catfood):\n+    \"\"\" A def function checking if there are too many kittens.\n+\n+    Args:\n+        kittens (int): Number of kittens.\n+        litterboxes (int): Number of available kittens.\n+        catfood (mixed): Whether or not catfood exists.\n+\n+    Returns:\n+        str:  Boolean answer regarding have too many kittens for the amounts\n+        of litterboxs or catfood.\n+\n+    Examples:\n+        >>> too_many_kittens(20, 15, 2)\n+        True\n+\n+        >>> too_many_kittens(4, 7, 8)\n+        False\n+    \"\"\"\n+    return not(litterboxes >= kittens and catfood)","path":"task_04.py","position":25,"original_position":25,"commit_id":"004586c191653344561959a4ec86d312500f78c3","original_commit_id":"004586c191653344561959a4ec86d312500f78c3","user":{"login":"cheuschober","id":1184479,"avatar_url":"https://avatars.githubusercontent.com/u/1184479?v=3","gravatar_id":"","url":"https://api.github.com/users/cheuschober","html_url":"https://github.com/cheuschober","followers_url":"https://api.github.com/users/cheuschober/followers","following_url":"https://api.github.com/users/cheuschober/following{/other_user}","gists_url":"https://api.github.com/users/cheuschober/gists{/gist_id}","starred_url":"https://api.github.com/users/cheuschober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheuschober/subscriptions","organizations_url":"https://api.github.com/users/cheuschober/orgs","repos_url":"https://api.github.com/users/cheuschober/repos","events_url":"https://api.github.com/users/cheuschober/events{/privacy}","received_events_url":"https://api.github.com/users/cheuschober/received_events","type":"User","site_admin":false},"body":"@pcwebb, Excellent overall but it's more stylistically correct to have a space after all operators, including `not`, eg `not (litterboxes`. Since pylint is our standard and let you pass this isn't a situation where you *have* to make a correction, just a note from your instructor on the more pythonic way.","created_at":"2015-02-25T03:15:33Z","updated_at":"2015-02-25T03:15:33Z","html_url":"https://github.com/is210-2015-spring-01/is210-week-05-warmup/pull/1#discussion_r25315443","pull_request_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/comments/25315443"},"html":{"href":"https://github.com/is210-2015-spring-01/is210-week-05-warmup/pull/1#discussion_r25315443"},"pull_request":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/1","id":29954609,"html_url":"https://github.com/is210-2015-spring-01/is210-week-05-warmup/pull/1","diff_url":"https://github.com/is210-2015-spring-01/is210-week-05-warmup/pull/1.diff","patch_url":"https://github.com/is210-2015-spring-01/is210-week-05-warmup/pull/1.patch","issue_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/issues/1","number":1,"state":"open","locked":false,"title":"Adding completed warmup tasks","user":{"login":"pcwebb","id":10769614,"avatar_url":"https://avatars.githubusercontent.com/u/10769614?v=3","gravatar_id":"","url":"https://api.github.com/users/pcwebb","html_url":"https://github.com/pcwebb","followers_url":"https://api.github.com/users/pcwebb/followers","following_url":"https://api.github.com/users/pcwebb/following{/other_user}","gists_url":"https://api.github.com/users/pcwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/pcwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcwebb/subscriptions","organizations_url":"https://api.github.com/users/pcwebb/orgs","repos_url":"https://api.github.com/users/pcwebb/repos","events_url":"https://api.github.com/users/pcwebb/events{/privacy}","received_events_url":"https://api.github.com/users/pcwebb/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-25T01:47:33Z","updated_at":"2015-02-25T03:15:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd026b79adbc43417bc66b3db23b908f035918ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/1/commits","review_comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/1/comments","review_comment_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/issues/1/comments","statuses_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/statuses/004586c191653344561959a4ec86d312500f78c3","head":{"label":"pcwebb:master","ref":"master","sha":"004586c191653344561959a4ec86d312500f78c3","user":{"login":"pcwebb","id":10769614,"avatar_url":"https://avatars.githubusercontent.com/u/10769614?v=3","gravatar_id":"","url":"https://api.github.com/users/pcwebb","html_url":"https://github.com/pcwebb","followers_url":"https://api.github.com/users/pcwebb/followers","following_url":"https://api.github.com/users/pcwebb/following{/other_user}","gists_url":"https://api.github.com/users/pcwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/pcwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcwebb/subscriptions","organizations_url":"https://api.github.com/users/pcwebb/orgs","repos_url":"https://api.github.com/users/pcwebb/repos","events_url":"https://api.github.com/users/pcwebb/events{/privacy}","received_events_url":"https://api.github.com/users/pcwebb/received_events","type":"User","site_admin":false},"repo":{"id":31287963,"name":"is210-week-05-warmup","full_name":"pcwebb/is210-week-05-warmup","owner":{"login":"pcwebb","id":10769614,"avatar_url":"https://avatars.githubusercontent.com/u/10769614?v=3","gravatar_id":"","url":"https://api.github.com/users/pcwebb","html_url":"https://github.com/pcwebb","followers_url":"https://api.github.com/users/pcwebb/followers","following_url":"https://api.github.com/users/pcwebb/following{/other_user}","gists_url":"https://api.github.com/users/pcwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/pcwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcwebb/subscriptions","organizations_url":"https://api.github.com/users/pcwebb/orgs","repos_url":"https://api.github.com/users/pcwebb/repos","events_url":"https://api.github.com/users/pcwebb/events{/privacy}","received_events_url":"https://api.github.com/users/pcwebb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pcwebb/is210-week-05-warmup","description":"Week #05 Warmup Tasks","fork":true,"url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup","forks_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/forks","keys_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/teams","hooks_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/hooks","issue_events_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/issues/events{/number}","events_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/events","assignees_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/assignees{/user}","branches_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/branches{/branch}","tags_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/tags","blobs_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/git/refs{/sha}","trees_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/statuses/{sha}","languages_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/languages","stargazers_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/stargazers","contributors_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/contributors","subscribers_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/subscribers","subscription_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/subscription","commits_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/commits{/sha}","git_commits_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/git/commits{/sha}","comments_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/comments{/number}","issue_comment_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/issues/comments{/number}","contents_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/contents/{+path}","compare_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/merges","archive_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/downloads","issues_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/issues{/number}","pulls_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/pulls{/number}","milestones_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/milestones{/number}","notifications_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/labels{/name}","releases_url":"https://api.github.com/repos/pcwebb/is210-week-05-warmup/releases{/id}","created_at":"2015-02-24T23:44:26Z","updated_at":"2015-02-25T01:46:37Z","pushed_at":"2015-02-25T01:46:37Z","git_url":"git://github.com/pcwebb/is210-week-05-warmup.git","ssh_url":"git@github.com:pcwebb/is210-week-05-warmup.git","clone_url":"https://github.com/pcwebb/is210-week-05-warmup.git","svn_url":"https://github.com/pcwebb/is210-week-05-warmup","homepage":null,"size":128,"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":"is210-2015-spring-01:pcwebb","ref":"pcwebb","sha":"16c2b5f242cc98817fa5d283e31ac5e41fe8ee71","user":{"login":"is210-2015-spring-01","id":10734022,"avatar_url":"https://avatars.githubusercontent.com/u/10734022?v=3","gravatar_id":"","url":"https://api.github.com/users/is210-2015-spring-01","html_url":"https://github.com/is210-2015-spring-01","followers_url":"https://api.github.com/users/is210-2015-spring-01/followers","following_url":"https://api.github.com/users/is210-2015-spring-01/following{/other_user}","gists_url":"https://api.github.com/users/is210-2015-spring-01/gists{/gist_id}","starred_url":"https://api.github.com/users/is210-2015-spring-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is210-2015-spring-01/subscriptions","organizations_url":"https://api.github.com/users/is210-2015-spring-01/orgs","repos_url":"https://api.github.com/users/is210-2015-spring-01/repos","events_url":"https://api.github.com/users/is210-2015-spring-01/events{/privacy}","received_events_url":"https://api.github.com/users/is210-2015-spring-01/received_events","type":"Organization","site_admin":false},"repo":{"id":31238439,"name":"is210-week-05-warmup","full_name":"is210-2015-spring-01/is210-week-05-warmup","owner":{"login":"is210-2015-spring-01","id":10734022,"avatar_url":"https://avatars.githubusercontent.com/u/10734022?v=3","gravatar_id":"","url":"https://api.github.com/users/is210-2015-spring-01","html_url":"https://github.com/is210-2015-spring-01","followers_url":"https://api.github.com/users/is210-2015-spring-01/followers","following_url":"https://api.github.com/users/is210-2015-spring-01/following{/other_user}","gists_url":"https://api.github.com/users/is210-2015-spring-01/gists{/gist_id}","starred_url":"https://api.github.com/users/is210-2015-spring-01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/is210-2015-spring-01/subscriptions","organizations_url":"https://api.github.com/users/is210-2015-spring-01/orgs","repos_url":"https://api.github.com/users/is210-2015-spring-01/repos","events_url":"https://api.github.com/users/is210-2015-spring-01/events{/privacy}","received_events_url":"https://api.github.com/users/is210-2015-spring-01/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/is210-2015-spring-01/is210-week-05-warmup","description":"Week #05 Warmup Tasks","fork":true,"url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup","forks_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/forks","keys_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/teams","hooks_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/hooks","issue_events_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/issues/events{/number}","events_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/events","assignees_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/assignees{/user}","branches_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/branches{/branch}","tags_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/tags","blobs_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/git/refs{/sha}","trees_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/statuses/{sha}","languages_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/languages","stargazers_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/stargazers","contributors_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/contributors","subscribers_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/subscribers","subscription_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/subscription","commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/commits{/sha}","git_commits_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/git/commits{/sha}","comments_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/comments{/number}","issue_comment_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/issues/comments{/number}","contents_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/contents/{+path}","compare_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/merges","archive_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/downloads","issues_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/issues{/number}","pulls_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls{/number}","milestones_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/milestones{/number}","notifications_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/labels{/name}","releases_url":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/releases{/id}","created_at":"2015-02-24T00:53:08Z","updated_at":"2015-02-24T00:54:06Z","pushed_at":"2015-02-24T00:55:40Z","git_url":"git://github.com/is210-2015-spring-01/is210-week-05-warmup.git","ssh_url":"git@github.com:is210-2015-spring-01/is210-week-05-warmup.git","clone_url":"https://github.com/is210-2015-spring-01/is210-week-05-warmup.git","svn_url":"https://github.com/is210-2015-spring-01/is210-week-05-warmup","homepage":null,"size":128,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/1"},"html":{"href":"https://github.com/is210-2015-spring-01/is210-week-05-warmup/pull/1"},"issue":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/issues/1"},"comments":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/is210-2015-spring-01/is210-week-05-warmup/statuses/004586c191653344561959a4ec86d312500f78c3"}}}}