{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/211","repository_url":"https://api.github.com/repos/AtomLinter/linter-flake8","labels_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/211/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/211/events","html_url":"https://github.com/AtomLinter/linter-flake8/issues/211","id":162322701,"number":211,"title":"Import-errors on lines that don't exist at the bottom of the file instead of the top?","user":{"login":"djch","id":4392286,"avatar_url":"https://avatars.githubusercontent.com/u/4392286?v=3","gravatar_id":"","url":"https://api.github.com/users/djch","html_url":"https://github.com/djch","followers_url":"https://api.github.com/users/djch/followers","following_url":"https://api.github.com/users/djch/following{/other_user}","gists_url":"https://api.github.com/users/djch/gists{/gist_id}","starred_url":"https://api.github.com/users/djch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djch/subscriptions","organizations_url":"https://api.github.com/users/djch/orgs","repos_url":"https://api.github.com/users/djch/repos","events_url":"https://api.github.com/users/djch/events{/privacy}","received_events_url":"https://api.github.com/users/djch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-26T10:52:42Z","updated_at":"2016-07-07T07:48:28Z","closed_at":null,"body":"![l618](https://cloud.githubusercontent.com/assets/4392286/16361822/7b7eadd2-3bdf-11e6-96ed-d480ce159edb.png)\r\n\r\nPictured is the last line of the file, L617. Note that it's calling out an import error from the top of the file on L618 which does not exist.\r\n\r\nI could swear this started when I was briefly experimenting with an `isort` atom plug-in which I've since uninstalled.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/comments/231007375","html_url":"https://github.com/AtomLinter/linter-flake8/issues/211#issuecomment-231007375","issue_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/211","id":231007375,"user":{"login":"hvdklauw","id":13875,"avatar_url":"https://avatars.githubusercontent.com/u/13875?v=3","gravatar_id":"","url":"https://api.github.com/users/hvdklauw","html_url":"https://github.com/hvdklauw","followers_url":"https://api.github.com/users/hvdklauw/followers","following_url":"https://api.github.com/users/hvdklauw/following{/other_user}","gists_url":"https://api.github.com/users/hvdklauw/gists{/gist_id}","starred_url":"https://api.github.com/users/hvdklauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvdklauw/subscriptions","organizations_url":"https://api.github.com/users/hvdklauw/orgs","repos_url":"https://api.github.com/users/hvdklauw/repos","events_url":"https://api.github.com/users/hvdklauw/events{/privacy}","received_events_url":"https://api.github.com/users/hvdklauw/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T07:48:28Z","updated_at":"2016-07-07T07:48:28Z","body":"Ran into the same problem.\r\n\r\nCode:\r\n\r\n```python\r\nfrom fabric.api import task, local, lcd\r\n\r\nfrom . import api, bo, fo\r\nfrom ..helpers import LayerTask\r\n\r\n\r\n@task(default=True, task_class=LayerTask)\r\ndef full_deploy(tag=None):\r\n    \"\"\"Deploy FO, BO and API.\"\"\"\r\n    print(\"Deploying all\")\r\n    api.deploy(tag=tag)\r\n    fo.deploy(tag=tag)\r\n    bo.deploy(tag=tag)\r\n\r\n```\r\n\r\n\r\nThere is not `output` variable, but here is `result.stdout`:\r\n\r\n```\r\nstdin:1:1: F401 'fabric.api.lcd' imported but unused stdin:1:1: F401 'fabric.api.local' imported but unused\r\n```\r\n\r\n\r\n\r\noutput of `apm list | grep flake8`\r\n\r\n```\r\n├── linter-flake8@1.13.2\r\n```\r\n\r\nand ```flake8 --version```\r\n```\r\n2.6.2 (pycodestyle: 2.0.0, pyflakes: 1.2.3, mccabe: 0.5.0) CPython 3.5.1 on Darwin\r\n```\r\n"}}
{"actor":{"display_login":"hvdklauw"}}