{"action":"created","issue":{"url":"https://api.github.com/repos/PyCQA/prospector/issues/257","repository_url":"https://api.github.com/repos/PyCQA/prospector","labels_url":"https://api.github.com/repos/PyCQA/prospector/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/PyCQA/prospector/issues/257/comments","events_url":"https://api.github.com/repos/PyCQA/prospector/issues/257/events","html_url":"https://github.com/PyCQA/prospector/issues/257","id":330863818,"node_id":"MDU6SXNzdWUzMzA4NjM4MTg=","number":257,"title":"Diffrent behavoiur with different abs/relative arguments","user":{"login":"meteozond","id":975689,"node_id":"MDQ6VXNlcjk3NTY4OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/975689?v=4","gravatar_id":"","url":"https://api.github.com/users/meteozond","html_url":"https://github.com/meteozond","followers_url":"https://api.github.com/users/meteozond/followers","following_url":"https://api.github.com/users/meteozond/following{/other_user}","gists_url":"https://api.github.com/users/meteozond/gists{/gist_id}","starred_url":"https://api.github.com/users/meteozond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteozond/subscriptions","organizations_url":"https://api.github.com/users/meteozond/orgs","repos_url":"https://api.github.com/users/meteozond/repos","events_url":"https://api.github.com/users/meteozond/events{/privacy}","received_events_url":"https://api.github.com/users/meteozond/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-06-09T07:50:48Z","updated_at":"2018-10-05T17:10:50Z","closed_at":null,"author_association":"NONE","body":"It is quite disappointing when overall project, separate file and folder checks give different results. Here is a little table showing results depended on arguments given.\r\n\r\n<table border=1>\r\n  <thead>\r\n<tr>\r\n <td rowspan=3><b>cmd</td>\r\n <td rowspan=3><b>--absolute-path</td>\r\n <td colspan=7><b>PATH</td>\r\n <td colspan=3 rowspan=\"2\"><b>results</td>\r\n</tr>\r\n<tr>\r\n <td rowspan=2><b>not defined</td>\r\n <td rowspan=2><b>Full path to project</td>\r\n <td rowspan=2><b>.</td>\r\n <td colspan=2><b>file</td>\r\n <td colspan=2><b>folder</td>\r\n</tr>\r\n<tr>\r\n <td><b>relative</td>\r\n <td><b>abs</td>\r\n <td><b>relative</td>\r\n <td><b>abs</td>\r\n <td><b>code</td>\r\n <td><b>import-error</td>\r\n <td><b>ignored noqa</td>\r\n</tr>\r\n  </thead>\r\n  \r\n<tr><td>  </td>\r\n  <td>-</td><td>*</td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td>ok  </td><td> </td><td> </td></tr>\r\n  \r\n<tr><td>   `pwd`</td>\r\n  <td>-</td><td> </td><td>*</td><td> </td><td> </td><td> </td><td> </td><td> </td><td>ok  </td><td> </td><td> </td></tr>\r\n\r\n<tr><td>   .</td>\r\n  <td>-</td><td> </td><td> </td><td>*</td><td> </td><td> </td><td> </td><td> </td><td>ok  </td><td> </td><td> </td></tr>\r\n\r\n<tr><td>   lib/__init__.py</td>\r\n  <td>-</td><td> </td><td> </td><td> </td><td>*</td><td> </td><td> </td><td> </td><td>ok  </td><td> </td><td> </td></tr>\r\n\r\n<tr><td>   `pwd`/lib/__init__.py</td>\r\n  <td>-</td><td> </td><td> </td><td> </td><td> </td><td>*</td><td> </td><td> </td><td>fail</td><td> </td><td>*</td></tr>\r\n\r\n<tr><td>   lib</td>\r\n  <td>-</td><td> </td><td> </td><td> </td><td> </td><td> </td><td>*</td><td> </td><td>fail</td><td>*</td><td>*</td></tr>\r\n\r\n<tr><td>   `pwd`/lib</td>\r\n  <td>-</td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td>*</td><td>fail</td><td>*</td><td>*</td></tr>\r\n\r\n\r\n\r\n<tr><td>   --absolute-path</td>\r\n  <td>+</td><td>*</td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td>ok  </td><td> </td><td> </td></tr>\r\n\r\n<tr><td>   --absolute-path `pwd`</td>\r\n  <td>+</td><td> </td><td>*</td><td> </td><td> </td><td> </td><td> </td><td> </td><td>ok  </td><td> </td><td> </td></tr>\r\n\r\n<tr><td>   --absolute-path .</td>\r\n  <td>+</td><td> </td><td> </td><td>*</td><td> </td><td> </td><td> </td><td> </td><td>ok  </td><td> </td><td> </td></tr>\r\n\r\n<tr><td>   --absolute-path lib/__init__.py</td>\r\n  <td>+</td><td> </td><td> </td><td> </td><td>*</td><td> </td><td> </td><td> </td><td>ok  </td><td> </td><td> </td></tr>\r\n\r\n<tr><td>   --absolute-path `pwd`/lib/__init__.py</td>\r\n  <td>+</td><td> </td><td> </td><td> </td><td> </td><td>*</td><td> </td><td> </td><td>ok</td><td> </td><td> </td></tr>\r\n\r\n<tr><td>   --absolute-path lib</td>\r\n  <td>+</td><td> </td><td> </td><td> </td><td> </td><td> </td><td>*</td><td> </td><td>fail</td><td>*</td><td>*</td></tr>\r\n\r\n<tr><td>   --absolute-path `pwd`/lib</td>\r\n  <td>+</td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td><td>*</td><td>fail</td><td>*</td><td>*</td></tr>\r\n\r\n</table>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PyCQA/prospector/issues/comments/427435603","html_url":"https://github.com/PyCQA/prospector/issues/257#issuecomment-427435603","issue_url":"https://api.github.com/repos/PyCQA/prospector/issues/257","id":427435603,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzQzNTYwMw==","user":{"login":"chocoelho","id":3460435,"node_id":"MDQ6VXNlcjM0NjA0MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/3460435?v=4","gravatar_id":"","url":"https://api.github.com/users/chocoelho","html_url":"https://github.com/chocoelho","followers_url":"https://api.github.com/users/chocoelho/followers","following_url":"https://api.github.com/users/chocoelho/following{/other_user}","gists_url":"https://api.github.com/users/chocoelho/gists{/gist_id}","starred_url":"https://api.github.com/users/chocoelho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chocoelho/subscriptions","organizations_url":"https://api.github.com/users/chocoelho/orgs","repos_url":"https://api.github.com/users/chocoelho/repos","events_url":"https://api.github.com/users/chocoelho/events{/privacy}","received_events_url":"https://api.github.com/users/chocoelho/received_events","type":"User","site_admin":false},"created_at":"2018-10-05T17:10:50Z","updated_at":"2018-10-05T17:10:50Z","author_association":"MEMBER","body":"@meteozond Sorry for the delay, it's been crazy over here with the coming of my son, so my time has been limited for a while. Checking here, it seems to be related to how we get the minimal path from the found files. In your example, it's taking `a` into consideration and not the root, although `a` is not the root. Checking here how to properly fix this minimal path discovery."}}
{"actor":{"display_login":"chocoelho"}}