{"action":"created","comment":{"url":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/comments/94041971","pull_request_review_id":14572261,"id":94041971,"diff_hunk":"@@ -371,11 +377,21 @@ def colon_list_to_dict(self, colon_list):\n         \"\"\"\n         return dict([item.split(\":\") for item in colon_list])\n \n+    def replace_and_first_lower(self, string):\n+        \"\"\" Conver 'Hello World' to 'hello_World'\n+\n+            :param string: String to convert\n+            :returns: string","path":"pylint_odoo/checkers/no_modules.py","position":null,"original_position":21,"commit_id":"8c367a4842ce57193cf4cff4e5ca5d04687be345","original_commit_id":"e1068fff72fec87b984e580ea8a3c4573080180e","user":{"login":"JesusZapata","id":1387970,"avatar_url":"https://avatars.githubusercontent.com/u/1387970?v=3","gravatar_id":"","url":"https://api.github.com/users/JesusZapata","html_url":"https://github.com/JesusZapata","followers_url":"https://api.github.com/users/JesusZapata/followers","following_url":"https://api.github.com/users/JesusZapata/following{/other_user}","gists_url":"https://api.github.com/users/JesusZapata/gists{/gist_id}","starred_url":"https://api.github.com/users/JesusZapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesusZapata/subscriptions","organizations_url":"https://api.github.com/users/JesusZapata/orgs","repos_url":"https://api.github.com/users/JesusZapata/repos","events_url":"https://api.github.com/users/JesusZapata/events{/privacy}","received_events_url":"https://api.github.com/users/JesusZapata/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2016-12-28T15:07:10Z","updated_at":"2016-12-28T15:07:10Z","html_url":"https://github.com/Vauxoo/pylint-odoo/pull/97#discussion_r94041971","pull_request_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/comments/94041971"},"html":{"href":"https://github.com/Vauxoo/pylint-odoo/pull/97#discussion_r94041971"},"pull_request":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/97","id":99467247,"html_url":"https://github.com/Vauxoo/pylint-odoo/pull/97","diff_url":"https://github.com/Vauxoo/pylint-odoo/pull/97.diff","patch_url":"https://github.com/Vauxoo/pylint-odoo/pull/97.patch","issue_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/issues/97","number":97,"state":"open","locked":false,"title":"[IMP] pylint_odoo: Check if the string parameter is equal to variable nam","user":{"login":"JesusZapata","id":1387970,"avatar_url":"https://avatars.githubusercontent.com/u/1387970?v=3","gravatar_id":"","url":"https://api.github.com/users/JesusZapata","html_url":"https://github.com/JesusZapata","followers_url":"https://api.github.com/users/JesusZapata/followers","following_url":"https://api.github.com/users/JesusZapata/following{/other_user}","gists_url":"https://api.github.com/users/JesusZapata/gists{/gist_id}","starred_url":"https://api.github.com/users/JesusZapata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesusZapata/subscriptions","organizations_url":"https://api.github.com/users/JesusZapata/orgs","repos_url":"https://api.github.com/users/JesusZapata/repos","events_url":"https://api.github.com/users/JesusZapata/events{/privacy}","received_events_url":"https://api.github.com/users/JesusZapata/received_events","type":"User","site_admin":false},"body":"Check if the name of the variable is equal to string parameter  \r\n\r\n**Tested cases**\r\n\r\n`name_equal_to_string = fields.Float(\"Name equal to string\") # Show warning`\r\n`many_2_one = fields.Many2one('res.users', \"Many 2 one\") # Show warning`\r\n`many_2_many = fields.Many2many('res.users', 'relation', 'fk_column_from',  'fk_column_to', \"Many 2 many\") # Show warning`\r\n\r\nReferent to issue https://github.com/Vauxoo/pylint-odoo/issues/92","created_at":"2016-12-27T17:34:23Z","updated_at":"2016-12-28T15:07:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a27de91573a39174f20a58a89923478359a357c7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/97/commits","review_comments_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/97/comments","review_comment_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/issues/97/comments","statuses_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/statuses/8c367a4842ce57193cf4cff4e5ca5d04687be345","head":{"label":"vauxoo-dev:master-same-field-name-with-string-jesuszapata","ref":"master-same-field-name-with-string-jesuszapata","sha":"8c367a4842ce57193cf4cff4e5ca5d04687be345","user":{"login":"vauxoo-dev","id":7662790,"avatar_url":"https://avatars.githubusercontent.com/u/7662790?v=3","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":44041810,"name":"pylint-odoo","full_name":"vauxoo-dev/pylint-odoo","owner":{"login":"vauxoo-dev","id":7662790,"avatar_url":"https://avatars.githubusercontent.com/u/7662790?v=3","gravatar_id":"","url":"https://api.github.com/users/vauxoo-dev","html_url":"https://github.com/vauxoo-dev","followers_url":"https://api.github.com/users/vauxoo-dev/followers","following_url":"https://api.github.com/users/vauxoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/vauxoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/vauxoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vauxoo-dev/subscriptions","organizations_url":"https://api.github.com/users/vauxoo-dev/orgs","repos_url":"https://api.github.com/users/vauxoo-dev/repos","events_url":"https://api.github.com/users/vauxoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/vauxoo-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vauxoo-dev/pylint-odoo","description":null,"fork":true,"url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo","forks_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/forks","keys_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/teams","hooks_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/hooks","issue_events_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/issues/events{/number}","events_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/events","assignees_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/assignees{/user}","branches_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/branches{/branch}","tags_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/tags","blobs_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/languages","stargazers_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/stargazers","contributors_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/contributors","subscribers_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/subscribers","subscription_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/subscription","commits_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/contents/{+path}","compare_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/merges","archive_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/downloads","issues_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/issues{/number}","pulls_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/labels{/name}","releases_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/releases{/id}","deployments_url":"https://api.github.com/repos/vauxoo-dev/pylint-odoo/deployments","created_at":"2015-10-11T06:30:59Z","updated_at":"2015-10-06T06:29:50Z","pushed_at":"2016-12-28T13:40:54Z","git_url":"git://github.com/vauxoo-dev/pylint-odoo.git","ssh_url":"git@github.com:vauxoo-dev/pylint-odoo.git","clone_url":"https://github.com/vauxoo-dev/pylint-odoo.git","svn_url":"https://github.com/vauxoo-dev/pylint-odoo","homepage":null,"size":466,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Vauxoo:master","ref":"master","sha":"13b445f05c5ede151418b6a89477ab5da56d9d98","user":{"login":"Vauxoo","id":5997834,"avatar_url":"https://avatars.githubusercontent.com/u/5997834?v=3","gravatar_id":"","url":"https://api.github.com/users/Vauxoo","html_url":"https://github.com/Vauxoo","followers_url":"https://api.github.com/users/Vauxoo/followers","following_url":"https://api.github.com/users/Vauxoo/following{/other_user}","gists_url":"https://api.github.com/users/Vauxoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vauxoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vauxoo/subscriptions","organizations_url":"https://api.github.com/users/Vauxoo/orgs","repos_url":"https://api.github.com/users/Vauxoo/repos","events_url":"https://api.github.com/users/Vauxoo/events{/privacy}","received_events_url":"https://api.github.com/users/Vauxoo/received_events","type":"Organization","site_admin":false},"repo":{"id":44041808,"name":"pylint-odoo","full_name":"Vauxoo/pylint-odoo","owner":{"login":"Vauxoo","id":5997834,"avatar_url":"https://avatars.githubusercontent.com/u/5997834?v=3","gravatar_id":"","url":"https://api.github.com/users/Vauxoo","html_url":"https://github.com/Vauxoo","followers_url":"https://api.github.com/users/Vauxoo/followers","following_url":"https://api.github.com/users/Vauxoo/following{/other_user}","gists_url":"https://api.github.com/users/Vauxoo/gists{/gist_id}","starred_url":"https://api.github.com/users/Vauxoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vauxoo/subscriptions","organizations_url":"https://api.github.com/users/Vauxoo/orgs","repos_url":"https://api.github.com/users/Vauxoo/repos","events_url":"https://api.github.com/users/Vauxoo/events{/privacy}","received_events_url":"https://api.github.com/users/Vauxoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vauxoo/pylint-odoo","description":null,"fork":true,"url":"https://api.github.com/repos/Vauxoo/pylint-odoo","forks_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/forks","keys_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/teams","hooks_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/hooks","issue_events_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/issues/events{/number}","events_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/events","assignees_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/assignees{/user}","branches_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/branches{/branch}","tags_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/tags","blobs_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/languages","stargazers_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/stargazers","contributors_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/contributors","subscribers_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/subscribers","subscription_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/subscription","commits_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/contents/{+path}","compare_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/merges","archive_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/downloads","issues_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/issues{/number}","pulls_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/labels{/name}","releases_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/releases{/id}","deployments_url":"https://api.github.com/repos/Vauxoo/pylint-odoo/deployments","created_at":"2015-10-11T06:30:53Z","updated_at":"2016-10-22T14:39:29Z","pushed_at":"2016-12-28T13:40:56Z","git_url":"git://github.com/Vauxoo/pylint-odoo.git","ssh_url":"git@github.com:Vauxoo/pylint-odoo.git","clone_url":"https://github.com/Vauxoo/pylint-odoo.git","svn_url":"https://github.com/Vauxoo/pylint-odoo","homepage":null,"size":348,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/97"},"html":{"href":"https://github.com/Vauxoo/pylint-odoo/pull/97"},"issue":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/issues/97"},"comments":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/Vauxoo/pylint-odoo/statuses/8c367a4842ce57193cf4cff4e5ca5d04687be345"}}}}
{"actor":{"display_login":"JesusZapata"}}