{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/maintainer-quality-tools/issues/227","labels_url":"https://api.github.com/repos/OCA/maintainer-quality-tools/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/OCA/maintainer-quality-tools/issues/227/comments","events_url":"https://api.github.com/repos/OCA/maintainer-quality-tools/issues/227/events","html_url":"https://github.com/OCA/maintainer-quality-tools/pull/227","id":101206920,"number":227,"title":"[IMP] pylint: Enable check of cyclomatic complexity","user":{"login":"moylop260","id":6644187,"avatar_url":"https://avatars.githubusercontent.com/u/6644187?v=3","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OCA/maintainer-quality-tools/labels/needs%20review","name":"needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"moylop260","id":6644187,"avatar_url":"https://avatars.githubusercontent.com/u/6644187?v=3","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-15T20:15:14Z","updated_at":"2015-09-17T02:33:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/maintainer-quality-tools/pulls/227","html_url":"https://github.com/OCA/maintainer-quality-tools/pull/227","diff_url":"https://github.com/OCA/maintainer-quality-tools/pull/227.diff","patch_url":"https://github.com/OCA/maintainer-quality-tools/pull/227.patch"},"body":"We have next [guideline](https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md#idioms):\r\n`If a function is too long or too indented due to loops, this is a sign that it needs to be refactored into smaller functions`\r\n\r\nThe unit of measure of [cyclomatic complexity](https://en.wikipedia.org/wiki/Cyclomatic_complexity) can to help us to check it\r\n\r\nBefore of enable this check I need to know if is a good idea for you."},"comment":{"url":"https://api.github.com/repos/OCA/maintainer-quality-tools/issues/comments/140946574","html_url":"https://github.com/OCA/maintainer-quality-tools/pull/227#issuecomment-140946574","issue_url":"https://api.github.com/repos/OCA/maintainer-quality-tools/issues/227","id":140946574,"user":{"login":"moylop260","id":6644187,"avatar_url":"https://avatars.githubusercontent.com/u/6644187?v=3","gravatar_id":"","url":"https://api.github.com/users/moylop260","html_url":"https://github.com/moylop260","followers_url":"https://api.github.com/users/moylop260/followers","following_url":"https://api.github.com/users/moylop260/following{/other_user}","gists_url":"https://api.github.com/users/moylop260/gists{/gist_id}","starred_url":"https://api.github.com/users/moylop260/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moylop260/subscriptions","organizations_url":"https://api.github.com/users/moylop260/orgs","repos_url":"https://api.github.com/users/moylop260/repos","events_url":"https://api.github.com/users/moylop260/events{/privacy}","received_events_url":"https://api.github.com/users/moylop260/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T02:33:31Z","updated_at":"2015-09-17T02:33:31Z","body":"FYI this check is enabled in informative checks of `travis_run_pylint_pr.cf` file without affect travis build result."}}