{"action":"created","issue":{"url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/470","labels_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/470/comments","events_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/470/events","html_url":"https://github.com/ciudadanointeligente/write-it/pull/470","id":54759457,"number":470,"title":"Flake8","user":{"login":"duncanparkes","id":56265,"avatar_url":"https://avatars.githubusercontent.com/u/56265?v=3","gravatar_id":"","url":"https://api.github.com/users/duncanparkes","html_url":"https://github.com/duncanparkes","followers_url":"https://api.github.com/users/duncanparkes/followers","following_url":"https://api.github.com/users/duncanparkes/following{/other_user}","gists_url":"https://api.github.com/users/duncanparkes/gists{/gist_id}","starred_url":"https://api.github.com/users/duncanparkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duncanparkes/subscriptions","organizations_url":"https://api.github.com/users/duncanparkes/orgs","repos_url":"https://api.github.com/users/duncanparkes/repos","events_url":"https://api.github.com/users/duncanparkes/events{/privacy}","received_events_url":"https://api.github.com/users/duncanparkes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-19T12:44:54Z","updated_at":"2015-01-20T13:36:12Z","closed_at":"2015-01-20T13:21:11Z","pull_request":{"url":"https://api.github.com/repos/ciudadanointeligente/write-it/pulls/470","html_url":"https://github.com/ciudadanointeligente/write-it/pull/470","diff_url":"https://github.com/ciudadanointeligente/write-it/pull/470.diff","patch_url":"https://github.com/ciudadanointeligente/write-it/pull/470.patch"},"body":"Sorry this is a bit of a monster, and I'm not expecting anyone to read it all.\r\n\r\nI've run flake8 over the codebase using the settings file that Django uses, and these are the changes I think need making to make it (almost) happy. On SayIt we have a git pre-commit hook which makes sure we produce PEP8 satisfying code - it might be nice to do the same thing here.\r\n\r\nMost of the stuff in this commit is just for style reasons to make it more readable. I'll make another commit in a second with a couple more things which flake8 brought up which look more important to me.\r\n\r\nI'll be interested to see what travis has to say about this as I have 5 test failures on my dev environment even with origin/master!\r\n\r\nCheers,\r\n\r\nDuncan (hoping shortly to get on with some proper issues :-))"},"comment":{"url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/comments/70653682","html_url":"https://github.com/ciudadanointeligente/write-it/pull/470#issuecomment-70653682","issue_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/470","id":70653682,"user":{"login":"lfalvarez","id":585757,"avatar_url":"https://avatars.githubusercontent.com/u/585757?v=3","gravatar_id":"","url":"https://api.github.com/users/lfalvarez","html_url":"https://github.com/lfalvarez","followers_url":"https://api.github.com/users/lfalvarez/followers","following_url":"https://api.github.com/users/lfalvarez/following{/other_user}","gists_url":"https://api.github.com/users/lfalvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/lfalvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfalvarez/subscriptions","organizations_url":"https://api.github.com/users/lfalvarez/orgs","repos_url":"https://api.github.com/users/lfalvarez/repos","events_url":"https://api.github.com/users/lfalvarez/events{/privacy}","received_events_url":"https://api.github.com/users/lfalvarez/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T13:36:12Z","updated_at":"2015-01-20T13:36:12Z","body":"Thanks ;)"}}