{"action":"opened","issue":{"url":"https://api.github.com/repos/landscapeio/prospector/issues/177","repository_url":"https://api.github.com/repos/landscapeio/prospector","labels_url":"https://api.github.com/repos/landscapeio/prospector/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/landscapeio/prospector/issues/177/comments","events_url":"https://api.github.com/repos/landscapeio/prospector/issues/177/events","html_url":"https://github.com/landscapeio/prospector/issues/177","id":165680364,"number":177,"title":"zeror exit not working","user":{"login":"vim345","id":6374918,"avatar_url":"https://avatars.githubusercontent.com/u/6374918?v=3","gravatar_id":"","url":"https://api.github.com/users/vim345","html_url":"https://github.com/vim345","followers_url":"https://api.github.com/users/vim345/followers","following_url":"https://api.github.com/users/vim345/following{/other_user}","gists_url":"https://api.github.com/users/vim345/gists{/gist_id}","starred_url":"https://api.github.com/users/vim345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vim345/subscriptions","organizations_url":"https://api.github.com/users/vim345/orgs","repos_url":"https://api.github.com/users/vim345/repos","events_url":"https://api.github.com/users/vim345/events{/privacy}","received_events_url":"https://api.github.com/users/vim345/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-14T23:21:22Z","updated_at":"2016-07-14T23:21:22Z","closed_at":null,"body":"I was trying to run prospector on a git pre-push hook. That's why I needed to access the status code on exit using -0 or --zero-exit parameter. However, even when I run prospector it always returns code 0, even when there's an error.\r\n\r\nI get the same error using prospector 0.12 both in Mac OS X and Centos 7:\r\n\r\n```\r\n└→[✓] ⚑⚑⚑ prospector -0 -P .prospector.yaml --profile-path . common/api_client.py\r\nMessages\r\n========\r\n\r\ncommon/api_client.py\r\n  Line: 20\r\n    pep8: E302 / expected 2 blank lines, found 1 (col 1)\r\n\r\n\r\n\r\nCheck Information\r\n=================\r\n         Started: 2016-07-14 16:15:46.705234\r\n        Finished: 2016-07-14 16:15:47.094318\r\n      Time Taken: 0.39 seconds\r\n       Formatter: grouped\r\n        Profiles: .prospector.yaml, full_pep8, strictness_medium, strictness_high, strictness_veryhigh, no_doc_warnings, no_member_warnings, no_test_warnings\r\n      Strictness: from profile\r\n  Libraries Used: \r\n       Tools Run: dodgy, pep8, profile-validator, pyflakes, pylint\r\n  Messages Found: 1\r\n\r\n┌ 16:15:47 - (MyBranch|✚5) mohammad.mohtasham@mbp-om-41 - [~/data/etls]\r\n└→[✓] ⚑⚑⚑ echo $?\r\n0\r\n```"}}
{"actor":{"display_login":"vim345"}}