{"action":"created","issue":{"url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/208","repository_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks","labels_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/208/comments","events_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/208/events","html_url":"https://github.com/pre-commit/pre-commit-hooks/issues/208","id":239876612,"number":208,"title":"flake8 hook and python3","user":{"login":"elaichi","id":1084792,"avatar_url":"https://avatars0.githubusercontent.com/u/1084792?v=3","gravatar_id":"","url":"https://api.github.com/users/elaichi","html_url":"https://github.com/elaichi","followers_url":"https://api.github.com/users/elaichi/followers","following_url":"https://api.github.com/users/elaichi/following{/other_user}","gists_url":"https://api.github.com/users/elaichi/gists{/gist_id}","starred_url":"https://api.github.com/users/elaichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elaichi/subscriptions","organizations_url":"https://api.github.com/users/elaichi/orgs","repos_url":"https://api.github.com/users/elaichi/repos","events_url":"https://api.github.com/users/elaichi/events{/privacy}","received_events_url":"https://api.github.com/users/elaichi/received_events","type":"User","site_admin":false},"labels":[{"id":85865900,"url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-30T20:06:33Z","updated_at":"2017-07-03T03:12:15Z","closed_at":null,"body":"Hi there,\r\nsome of our repos use python3 and we just realized that the `flake8` pre-commit hook doesn't seem to be aware of it. In brief, we're experiencing this issue:\r\nhttps://gitlab.com/pycqa/flake8/issues/294\r\n\r\nHere's the relevant section of our `.pre-commit-config.yaml`:\r\n```\r\n-   repo: https://github.com/pre-commit/pre-commit-hooks.git\r\n    sha: v0.8.0\r\n    hooks:\r\n    -   id: flake8\r\n        args:\r\n        - '--config=.flake8'\r\n```\r\n\r\nRunning `flake8` (after `pip install`) directly on the files works fine.\r\n \r\nAny suggestions? Thanks!"},"comment":{"url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/comments/312540239","html_url":"https://github.com/pre-commit/pre-commit-hooks/issues/208#issuecomment-312540239","issue_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/208","id":312540239,"user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars0.githubusercontent.com/u/1810591?v=3","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"created_at":"2017-07-03T03:12:14Z","updated_at":"2017-07-03T03:12:14Z","body":"@elaichi did `language_version: python3` (or a more specific version) work for you?"}}
{"actor":{"display_login":"asottile"}}