{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/61","labels_url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/61/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/61/events","html_url":"https://github.com/AtomLinter/linter-pylint/pull/61","id":103371323,"number":61,"title":"Bugfix: Relative imports show errors","user":{"login":"SpainTrain","id":380032,"avatar_url":"https://avatars.githubusercontent.com/u/380032?v=3","gravatar_id":"","url":"https://api.github.com/users/SpainTrain","html_url":"https://github.com/SpainTrain","followers_url":"https://api.github.com/users/SpainTrain/followers","following_url":"https://api.github.com/users/SpainTrain/following{/other_user}","gists_url":"https://api.github.com/users/SpainTrain/gists{/gist_id}","starred_url":"https://api.github.com/users/SpainTrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpainTrain/subscriptions","organizations_url":"https://api.github.com/users/SpainTrain/orgs","repos_url":"https://api.github.com/users/SpainTrain/repos","events_url":"https://api.github.com/users/SpainTrain/events{/privacy}","received_events_url":"https://api.github.com/users/SpainTrain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtomLinter/linter-pylint/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-26T21:49:17Z","updated_at":"2015-09-20T22:02:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AtomLinter/linter-pylint/pulls/61","html_url":"https://github.com/AtomLinter/linter-pylint/pull/61","diff_url":"https://github.com/AtomLinter/linter-pylint/pull/61.diff","patch_url":"https://github.com/AtomLinter/linter-pylint/pull/61.patch"},"body":"* Add relevant directories to `PYTHONPATH` such that relative imports are not marked as errors\r\n\r\nCloses #58\r\n\r\n### Testing\r\n\r\n1. Checkout this PR ([instructions](https://gist.github.com/piscisaureus/3342247))\r\n2. `cd` into your `linter-pylint` directory\r\n2. `npm install`\r\n3. Install into your dev packages - `apm link --dev`\r\n4. Run atom in dev mode - `atom -d`"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/comments/141840352","html_url":"https://github.com/AtomLinter/linter-pylint/pull/61#issuecomment-141840352","issue_url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/61","id":141840352,"user":{"login":"miigotu","id":390379,"avatar_url":"https://avatars.githubusercontent.com/u/390379?v=3","gravatar_id":"","url":"https://api.github.com/users/miigotu","html_url":"https://github.com/miigotu","followers_url":"https://api.github.com/users/miigotu/followers","following_url":"https://api.github.com/users/miigotu/following{/other_user}","gists_url":"https://api.github.com/users/miigotu/gists{/gist_id}","starred_url":"https://api.github.com/users/miigotu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miigotu/subscriptions","organizations_url":"https://api.github.com/users/miigotu/orgs","repos_url":"https://api.github.com/users/miigotu/repos","events_url":"https://api.github.com/users/miigotu/events{/privacy}","received_events_url":"https://api.github.com/users/miigotu/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T22:02:31Z","updated_at":"2015-09-20T22:02:31Z","body":"@SpainTrain Switching from file to project mode has made %p mostly work. Just one small issue left.  We do have an unconventional module structure where we have a top level dir that has some other \"lib\" modules and we sys.path.insert in our project. is there a way to add an additional path for imports besides %p?  seems this PR only walks up the tree and not down found folders in the parents."}}