{"action":"opened","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/11928","labels_url":"https://api.github.com/repos/pydata/pandas/issues/11928/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/11928/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/11928/events","html_url":"https://github.com/pydata/pandas/issues/11928","id":124338279,"number":11928,"title":"Linting and PEP8 compliance","user":{"login":"wesm","id":329591,"avatar_url":"https://avatars.githubusercontent.com/u/329591?v=3","gravatar_id":"","url":"https://api.github.com/users/wesm","html_url":"https://github.com/wesm","followers_url":"https://api.github.com/users/wesm/followers","following_url":"https://api.github.com/users/wesm/following{/other_user}","gists_url":"https://api.github.com/users/wesm/gists{/gist_id}","starred_url":"https://api.github.com/users/wesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesm/subscriptions","organizations_url":"https://api.github.com/users/wesm/orgs","repos_url":"https://api.github.com/users/wesm/repos","events_url":"https://api.github.com/users/wesm/events{/privacy}","received_events_url":"https://api.github.com/users/wesm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-30T11:47:38Z","updated_at":"2015-12-30T11:47:38Z","closed_at":null,"body":"I have been away from the codebase for a while and ouch, my eyes. I have used pyflakes or flake8 assiduously for Python development for a long time now and it seems that conventional style isn't being followed in the codebase:\r\n\r\n$ flake8 pandas/core | wc -l\r\n2047\r\n\r\nIt's a big codebase so adding a pre-commit hook might be too onerous, but can we get flake8 back to zero (with some well-placed `# noqa` marks on unintentionally-unused-imports)?\r\n\r\nSecondly, perhaps we should add a Readability or Style label for these kinds of issues?"}}