{"action":"created","issue":{"url":"https://api.github.com/repos/sdelements/django-security/issues/37","labels_url":"https://api.github.com/repos/sdelements/django-security/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/sdelements/django-security/issues/37/comments","events_url":"https://api.github.com/repos/sdelements/django-security/issues/37/events","html_url":"https://github.com/sdelements/django-security/pull/37","id":65014864,"number":37,"title":"PEP8 formatting and style improvements","user":{"login":"danpalmer","id":202400,"avatar_url":"https://avatars.githubusercontent.com/u/202400?v=3","gravatar_id":"","url":"https://api.github.com/users/danpalmer","html_url":"https://github.com/danpalmer","followers_url":"https://api.github.com/users/danpalmer/followers","following_url":"https://api.github.com/users/danpalmer/following{/other_user}","gists_url":"https://api.github.com/users/danpalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/danpalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpalmer/subscriptions","organizations_url":"https://api.github.com/users/danpalmer/orgs","repos_url":"https://api.github.com/users/danpalmer/repos","events_url":"https://api.github.com/users/danpalmer/events{/privacy}","received_events_url":"https://api.github.com/users/danpalmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-29T02:46:49Z","updated_at":"2015-04-21T13:50:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sdelements/django-security/pulls/37","html_url":"https://github.com/sdelements/django-security/pull/37","diff_url":"https://github.com/sdelements/django-security/pull/37.diff","patch_url":"https://github.com/sdelements/django-security/pull/37.patch"},"body":"This change includes the following:\r\n\r\n - PEP8 compliance\r\n - Compliance with a number of recommendations given by the [OpenStack style guide](http://docs.openstack.org/developer/hacking/) and [PEP8 Naming](https://github.com/flintwork/pep8-naming)\r\n - Style testing with Tox\r\n - Minor documentation formatting fixes\r\n - Refactoring of `ContentSecurityPolicyMiddleware._csp_builder` to reduce McCabe complexity to below 10.\r\n - Travis config so that auto-testing of pull requests can be set up.\r\n\r\nThe code style has changed quite significantly. The main motivation behind this is that PEP8 is considered to be a good standard that code should strive to adhere to, however in addition to this, I've reformatted the code to provide clearer diffs in future pull requests.\r\n"},"comment":{"url":"https://api.github.com/repos/sdelements/django-security/issues/comments/94798925","html_url":"https://github.com/sdelements/django-security/pull/37#issuecomment-94798925","issue_url":"https://api.github.com/repos/sdelements/django-security/issues/37","id":94798925,"user":{"login":"funkaoshi","id":11141,"avatar_url":"https://avatars.githubusercontent.com/u/11141?v=3","gravatar_id":"","url":"https://api.github.com/users/funkaoshi","html_url":"https://github.com/funkaoshi","followers_url":"https://api.github.com/users/funkaoshi/followers","following_url":"https://api.github.com/users/funkaoshi/following{/other_user}","gists_url":"https://api.github.com/users/funkaoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/funkaoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkaoshi/subscriptions","organizations_url":"https://api.github.com/users/funkaoshi/orgs","repos_url":"https://api.github.com/users/funkaoshi/repos","events_url":"https://api.github.com/users/funkaoshi/events{/privacy}","received_events_url":"https://api.github.com/users/funkaoshi/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T13:50:21Z","updated_at":"2015-04-21T13:50:21Z","body":"@danpalmer thanks for doing this. I think there is just a difference of opinion on line length. It's a bit hard to look at such a large diff so hopefully functionality wise things continue to work. Most changes seem to be for the best."}}