{"action":"created","issue":{"url":"https://api.github.com/repos/biopython/biopython/issues/406","labels_url":"https://api.github.com/repos/biopython/biopython/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/biopython/biopython/issues/406/comments","events_url":"https://api.github.com/repos/biopython/biopython/issues/406/events","html_url":"https://github.com/biopython/biopython/issues/406","id":47582773,"number":406,"title":"PEP8 cleanup (without functional code changes)","user":{"login":"peterjc","id":63959,"avatar_url":"https://avatars.githubusercontent.com/u/63959?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjc","html_url":"https://github.com/peterjc","followers_url":"https://api.github.com/users/peterjc/followers","following_url":"https://api.github.com/users/peterjc/following{/other_user}","gists_url":"https://api.github.com/users/peterjc/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjc/subscriptions","organizations_url":"https://api.github.com/users/peterjc/orgs","repos_url":"https://api.github.com/users/peterjc/repos","events_url":"https://api.github.com/users/peterjc/events{/privacy}","received_events_url":"https://api.github.com/users/peterjc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-03T11:05:35Z","updated_at":"2015-01-05T22:38:45Z","closed_at":null,"body":"Tracking issue for applying small PEP8 changes like white space which do NOT alter the code behaviour, and discussion of dividing labour to avoid stepping on each other's toes. i.e. You can comment here if you are planning to work on a batch of modules.\r\n\r\nIdeally this will allow us to routinely use a git pre-commit hook like https://github.com/cbrueffer/pep8-git-hook as outlined on the mailing list thread, http://mailman.open-bio.org/pipermail/biopython-dev/2014-October/020741.html\r\n\r\nCC @carlosp420 and @twrightsman"},"comment":{"url":"https://api.github.com/repos/biopython/biopython/issues/comments/68795125","html_url":"https://github.com/biopython/biopython/issues/406#issuecomment-68795125","issue_url":"https://api.github.com/repos/biopython/biopython/issues/406","id":68795125,"user":{"login":"carlosp420","id":710117,"avatar_url":"https://avatars.githubusercontent.com/u/710117?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosp420","html_url":"https://github.com/carlosp420","followers_url":"https://api.github.com/users/carlosp420/followers","following_url":"https://api.github.com/users/carlosp420/following{/other_user}","gists_url":"https://api.github.com/users/carlosp420/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosp420/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosp420/subscriptions","organizations_url":"https://api.github.com/users/carlosp420/orgs","repos_url":"https://api.github.com/users/carlosp420/repos","events_url":"https://api.github.com/users/carlosp420/events{/privacy}","received_events_url":"https://api.github.com/users/carlosp420/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T22:38:45Z","updated_at":"2015-01-05T22:38:45Z","body":"I included these exceptions in my pre-commit hook:\r\n\r\nE261 \tat least two spaces before inline comment\r\nE225 \tmissing whitespace around operator\r\nE226  \tmissing whitespace around arithmetic operator\r\nE227 \tmissing whitespace around bitwise or shift operator\r\nE228 \tmissing whitespace around modulo operator\r\n\r\nas suggested here\r\nhttp://mailman.open-bio.org/pipermail/biopython-dev/2014-October/020748.html\r\n\r\nMaybe those are the spaces that you keep finding?\r\n\r\n\r\nDr. Carlos Peña\r\nLaboratory of Genetics\r\nDepartment of Biology\r\nUniversity of Turku\r\n20014 Turku\r\nFINLAND\r\n\r\n* Associate Editor: Revista peruana de Biología\r\nhttp://is.gd/TwbW\r\n\r\n* The Nymphalidae Systematics Group\r\nhttp://nymphalidae.utu.fi/db.php\r\n\r\nOn Mon, Jan 5, 2015 at 1:18 PM, Peter Cock <notifications@github.com> wrote:\r\n\r\n> Having been using the commit hook on (some of) my own machines, there are\r\n> still plenty of (harmless) white space issues in the code base which do not\r\n> follow PEP8, e.g. spaces around mathematical operators. I've been fixing\r\n> this as an when I happen to touch a file for another reason.\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/biopython/biopython/issues/406#issuecomment-68695674>.\r\n>"}}