{"action":"created","comment":{"url":"https://api.github.com/repos/nnadeau/pybotics/pulls/comments/149536062","pull_request_review_id":74945939,"id":149536062,"diff_hunk":"@@ -0,0 +1,69 @@\n+\"\"\"Test errors.\"\"\"\n+from pytest import raises\n+\n+from pybotics.errors import PyboticsError, SequenceLengthError, \\\n+    Matrix4x4Error, LinkConventionError, LinkSequenceError, \\\n+    OrientationConventionError\n+\n+\n+def test_pybotics_error():\n+    \"\"\"\n+    Test error.\n+\n+    :return:\n+    \"\"\"\n+    with raises(PyboticsError):\n+        raise PyboticsError()\n+\n+    assert str(PyboticsError()) is PyboticsError._default_message","path":"tests/test_errors.py","position":18,"original_position":18,"commit_id":"7b4766e720439b8ad8d27053fc93cb669ff1c974","original_commit_id":"7b4766e720439b8ad8d27053fc93cb669ff1c974","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","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: [Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.](https://www.codacy.com/app/nicholas-nadeau/pybotics/pullRequest?prid=1029398)","created_at":"2017-11-07T23:27:15Z","updated_at":"2017-11-07T23:27:15Z","html_url":"https://github.com/nnadeau/pybotics/pull/194#discussion_r149536062","pull_request_url":"https://api.github.com/repos/nnadeau/pybotics/pulls/194","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/nnadeau/pybotics/pulls/comments/149536062"},"html":{"href":"https://github.com/nnadeau/pybotics/pull/194#discussion_r149536062"},"pull_request":{"href":"https://api.github.com/repos/nnadeau/pybotics/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/nnadeau/pybotics/pulls/194","id":149424398,"html_url":"https://github.com/nnadeau/pybotics/pull/194","diff_url":"https://github.com/nnadeau/pybotics/pull/194.diff","patch_url":"https://github.com/nnadeau/pybotics/pull/194.patch","issue_url":"https://api.github.com/repos/nnadeau/pybotics/issues/194","number":194,"state":"open","locked":false,"title":"Big refactor!","user":{"login":"nnadeau","id":6395915,"avatar_url":"https://avatars2.githubusercontent.com/u/6395915?v=4","gravatar_id":"","url":"https://api.github.com/users/nnadeau","html_url":"https://github.com/nnadeau","followers_url":"https://api.github.com/users/nnadeau/followers","following_url":"https://api.github.com/users/nnadeau/following{/other_user}","gists_url":"https://api.github.com/users/nnadeau/gists{/gist_id}","starred_url":"https://api.github.com/users/nnadeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnadeau/subscriptions","organizations_url":"https://api.github.com/users/nnadeau/orgs","repos_url":"https://api.github.com/users/nnadeau/repos","events_url":"https://api.github.com/users/nnadeau/events{/privacy}","received_events_url":"https://api.github.com/users/nnadeau/received_events","type":"User","site_admin":false},"body":"## Affected Issues\r\n- Fixes #191 \r\n- Fixes #146 \r\n- Fixes #138\r\n- Fixes #135\r\n- Fixes #133\r\n- Fixes #132\r\n- Fixes #131\r\n- Fixes #130 \r\n- Fixes #128\r\n- Fixes #125\r\n- Fixes #54 \r\n- Fixes #14\r\n\r\n## Proposed Changes\r\n- Large refactor of code architecture\r\n- Better, more logical testing\r\n- Model-based object-oriented approach to robotics\r\n- Big focus on typing and function interfaces\r\n\r\n","created_at":"2017-10-30T02:30:08Z","updated_at":"2017-11-07T23:27:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nnadeau/pybotics/pulls/194/commits","review_comments_url":"https://api.github.com/repos/nnadeau/pybotics/pulls/194/comments","review_comment_url":"https://api.github.com/repos/nnadeau/pybotics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nnadeau/pybotics/issues/194/comments","statuses_url":"https://api.github.com/repos/nnadeau/pybotics/statuses/7b4766e720439b8ad8d27053fc93cb669ff1c974","head":{"label":"nnadeau:big-refactor","ref":"big-refactor","sha":"7b4766e720439b8ad8d27053fc93cb669ff1c974","user":{"login":"nnadeau","id":6395915,"avatar_url":"https://avatars2.githubusercontent.com/u/6395915?v=4","gravatar_id":"","url":"https://api.github.com/users/nnadeau","html_url":"https://github.com/nnadeau","followers_url":"https://api.github.com/users/nnadeau/followers","following_url":"https://api.github.com/users/nnadeau/following{/other_user}","gists_url":"https://api.github.com/users/nnadeau/gists{/gist_id}","starred_url":"https://api.github.com/users/nnadeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnadeau/subscriptions","organizations_url":"https://api.github.com/users/nnadeau/orgs","repos_url":"https://api.github.com/users/nnadeau/repos","events_url":"https://api.github.com/users/nnadeau/events{/privacy}","received_events_url":"https://api.github.com/users/nnadeau/received_events","type":"User","site_admin":false},"repo":{"id":66797360,"name":"pybotics","full_name":"nnadeau/pybotics","owner":{"login":"nnadeau","id":6395915,"avatar_url":"https://avatars2.githubusercontent.com/u/6395915?v=4","gravatar_id":"","url":"https://api.github.com/users/nnadeau","html_url":"https://github.com/nnadeau","followers_url":"https://api.github.com/users/nnadeau/followers","following_url":"https://api.github.com/users/nnadeau/following{/other_user}","gists_url":"https://api.github.com/users/nnadeau/gists{/gist_id}","starred_url":"https://api.github.com/users/nnadeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnadeau/subscriptions","organizations_url":"https://api.github.com/users/nnadeau/orgs","repos_url":"https://api.github.com/users/nnadeau/repos","events_url":"https://api.github.com/users/nnadeau/events{/privacy}","received_events_url":"https://api.github.com/users/nnadeau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nnadeau/pybotics","description":"Python Toolbox for Robotics","fork":false,"url":"https://api.github.com/repos/nnadeau/pybotics","forks_url":"https://api.github.com/repos/nnadeau/pybotics/forks","keys_url":"https://api.github.com/repos/nnadeau/pybotics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnadeau/pybotics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnadeau/pybotics/teams","hooks_url":"https://api.github.com/repos/nnadeau/pybotics/hooks","issue_events_url":"https://api.github.com/repos/nnadeau/pybotics/issues/events{/number}","events_url":"https://api.github.com/repos/nnadeau/pybotics/events","assignees_url":"https://api.github.com/repos/nnadeau/pybotics/assignees{/user}","branches_url":"https://api.github.com/repos/nnadeau/pybotics/branches{/branch}","tags_url":"https://api.github.com/repos/nnadeau/pybotics/tags","blobs_url":"https://api.github.com/repos/nnadeau/pybotics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnadeau/pybotics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnadeau/pybotics/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnadeau/pybotics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnadeau/pybotics/statuses/{sha}","languages_url":"https://api.github.com/repos/nnadeau/pybotics/languages","stargazers_url":"https://api.github.com/repos/nnadeau/pybotics/stargazers","contributors_url":"https://api.github.com/repos/nnadeau/pybotics/contributors","subscribers_url":"https://api.github.com/repos/nnadeau/pybotics/subscribers","subscription_url":"https://api.github.com/repos/nnadeau/pybotics/subscription","commits_url":"https://api.github.com/repos/nnadeau/pybotics/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnadeau/pybotics/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnadeau/pybotics/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnadeau/pybotics/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnadeau/pybotics/contents/{+path}","compare_url":"https://api.github.com/repos/nnadeau/pybotics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnadeau/pybotics/merges","archive_url":"https://api.github.com/repos/nnadeau/pybotics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnadeau/pybotics/downloads","issues_url":"https://api.github.com/repos/nnadeau/pybotics/issues{/number}","pulls_url":"https://api.github.com/repos/nnadeau/pybotics/pulls{/number}","milestones_url":"https://api.github.com/repos/nnadeau/pybotics/milestones{/number}","notifications_url":"https://api.github.com/repos/nnadeau/pybotics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnadeau/pybotics/labels{/name}","releases_url":"https://api.github.com/repos/nnadeau/pybotics/releases{/id}","deployments_url":"https://api.github.com/repos/nnadeau/pybotics/deployments","created_at":"2016-08-29T00:07:34Z","updated_at":"2017-11-01T01:44:07Z","pushed_at":"2017-11-07T23:24:17Z","git_url":"git://github.com/nnadeau/pybotics.git","ssh_url":"git@github.com:nnadeau/pybotics.git","clone_url":"https://github.com/nnadeau/pybotics.git","svn_url":"https://github.com/nnadeau/pybotics","homepage":null,"size":385,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":32,"forks":1,"open_issues":32,"watchers":11,"default_branch":"master"}},"base":{"label":"nnadeau:master","ref":"master","sha":"6a14705bb37078661188057669e1fa9ea2509f8a","user":{"login":"nnadeau","id":6395915,"avatar_url":"https://avatars2.githubusercontent.com/u/6395915?v=4","gravatar_id":"","url":"https://api.github.com/users/nnadeau","html_url":"https://github.com/nnadeau","followers_url":"https://api.github.com/users/nnadeau/followers","following_url":"https://api.github.com/users/nnadeau/following{/other_user}","gists_url":"https://api.github.com/users/nnadeau/gists{/gist_id}","starred_url":"https://api.github.com/users/nnadeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnadeau/subscriptions","organizations_url":"https://api.github.com/users/nnadeau/orgs","repos_url":"https://api.github.com/users/nnadeau/repos","events_url":"https://api.github.com/users/nnadeau/events{/privacy}","received_events_url":"https://api.github.com/users/nnadeau/received_events","type":"User","site_admin":false},"repo":{"id":66797360,"name":"pybotics","full_name":"nnadeau/pybotics","owner":{"login":"nnadeau","id":6395915,"avatar_url":"https://avatars2.githubusercontent.com/u/6395915?v=4","gravatar_id":"","url":"https://api.github.com/users/nnadeau","html_url":"https://github.com/nnadeau","followers_url":"https://api.github.com/users/nnadeau/followers","following_url":"https://api.github.com/users/nnadeau/following{/other_user}","gists_url":"https://api.github.com/users/nnadeau/gists{/gist_id}","starred_url":"https://api.github.com/users/nnadeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnadeau/subscriptions","organizations_url":"https://api.github.com/users/nnadeau/orgs","repos_url":"https://api.github.com/users/nnadeau/repos","events_url":"https://api.github.com/users/nnadeau/events{/privacy}","received_events_url":"https://api.github.com/users/nnadeau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nnadeau/pybotics","description":"Python Toolbox for Robotics","fork":false,"url":"https://api.github.com/repos/nnadeau/pybotics","forks_url":"https://api.github.com/repos/nnadeau/pybotics/forks","keys_url":"https://api.github.com/repos/nnadeau/pybotics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnadeau/pybotics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnadeau/pybotics/teams","hooks_url":"https://api.github.com/repos/nnadeau/pybotics/hooks","issue_events_url":"https://api.github.com/repos/nnadeau/pybotics/issues/events{/number}","events_url":"https://api.github.com/repos/nnadeau/pybotics/events","assignees_url":"https://api.github.com/repos/nnadeau/pybotics/assignees{/user}","branches_url":"https://api.github.com/repos/nnadeau/pybotics/branches{/branch}","tags_url":"https://api.github.com/repos/nnadeau/pybotics/tags","blobs_url":"https://api.github.com/repos/nnadeau/pybotics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnadeau/pybotics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnadeau/pybotics/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnadeau/pybotics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnadeau/pybotics/statuses/{sha}","languages_url":"https://api.github.com/repos/nnadeau/pybotics/languages","stargazers_url":"https://api.github.com/repos/nnadeau/pybotics/stargazers","contributors_url":"https://api.github.com/repos/nnadeau/pybotics/contributors","subscribers_url":"https://api.github.com/repos/nnadeau/pybotics/subscribers","subscription_url":"https://api.github.com/repos/nnadeau/pybotics/subscription","commits_url":"https://api.github.com/repos/nnadeau/pybotics/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnadeau/pybotics/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnadeau/pybotics/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnadeau/pybotics/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnadeau/pybotics/contents/{+path}","compare_url":"https://api.github.com/repos/nnadeau/pybotics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnadeau/pybotics/merges","archive_url":"https://api.github.com/repos/nnadeau/pybotics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnadeau/pybotics/downloads","issues_url":"https://api.github.com/repos/nnadeau/pybotics/issues{/number}","pulls_url":"https://api.github.com/repos/nnadeau/pybotics/pulls{/number}","milestones_url":"https://api.github.com/repos/nnadeau/pybotics/milestones{/number}","notifications_url":"https://api.github.com/repos/nnadeau/pybotics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnadeau/pybotics/labels{/name}","releases_url":"https://api.github.com/repos/nnadeau/pybotics/releases{/id}","deployments_url":"https://api.github.com/repos/nnadeau/pybotics/deployments","created_at":"2016-08-29T00:07:34Z","updated_at":"2017-11-01T01:44:07Z","pushed_at":"2017-11-07T23:24:17Z","git_url":"git://github.com/nnadeau/pybotics.git","ssh_url":"git@github.com:nnadeau/pybotics.git","clone_url":"https://github.com/nnadeau/pybotics.git","svn_url":"https://github.com/nnadeau/pybotics","homepage":null,"size":385,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":32,"forks":1,"open_issues":32,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nnadeau/pybotics/pulls/194"},"html":{"href":"https://github.com/nnadeau/pybotics/pull/194"},"issue":{"href":"https://api.github.com/repos/nnadeau/pybotics/issues/194"},"comments":{"href":"https://api.github.com/repos/nnadeau/pybotics/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/nnadeau/pybotics/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/nnadeau/pybotics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nnadeau/pybotics/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/nnadeau/pybotics/statuses/7b4766e720439b8ad8d27053fc93cb669ff1c974"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}