{"action":"created","issue":{"url":"https://api.github.com/repos/troessner/reek/issues/761","labels_url":"https://api.github.com/repos/troessner/reek/issues/761/labels{/name}","comments_url":"https://api.github.com/repos/troessner/reek/issues/761/comments","events_url":"https://api.github.com/repos/troessner/reek/issues/761/events","html_url":"https://github.com/troessner/reek/issues/761","id":115405779,"number":761,"title":"UtilityFunction shouldn't complain if `super()` is called","user":{"login":"backus","id":2085622,"avatar_url":"https://avatars.githubusercontent.com/u/2085622?v=3","gravatar_id":"","url":"https://api.github.com/users/backus","html_url":"https://github.com/backus","followers_url":"https://api.github.com/users/backus/followers","following_url":"https://api.github.com/users/backus/following{/other_user}","gists_url":"https://api.github.com/users/backus/gists{/gist_id}","starred_url":"https://api.github.com/users/backus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backus/subscriptions","organizations_url":"https://api.github.com/users/backus/orgs","repos_url":"https://api.github.com/users/backus/repos","events_url":"https://api.github.com/users/backus/events{/privacy}","received_events_url":"https://api.github.com/users/backus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-06T00:15:10Z","updated_at":"2015-11-07T23:23:05Z","closed_at":null,"body":"I think this is sort of a duplicate of https://github.com/troessner/reek/issues/39 except the \"fix\" for that issue only covered when zsuper is used.  I think this should cover `super()` too."},"comment":{"url":"https://api.github.com/repos/troessner/reek/issues/comments/154764769","html_url":"https://github.com/troessner/reek/issues/761#issuecomment-154764769","issue_url":"https://api.github.com/repos/troessner/reek/issues/761","id":154764769,"user":{"login":"backus","id":2085622,"avatar_url":"https://avatars.githubusercontent.com/u/2085622?v=3","gravatar_id":"","url":"https://api.github.com/users/backus","html_url":"https://github.com/backus","followers_url":"https://api.github.com/users/backus/followers","following_url":"https://api.github.com/users/backus/following{/other_user}","gists_url":"https://api.github.com/users/backus/gists{/gist_id}","starred_url":"https://api.github.com/users/backus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backus/subscriptions","organizations_url":"https://api.github.com/users/backus/orgs","repos_url":"https://api.github.com/users/backus/repos","events_url":"https://api.github.com/users/backus/events{/privacy}","received_events_url":"https://api.github.com/users/backus/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T23:23:05Z","updated_at":"2015-11-07T23:23:05Z","body":"Should have included an example, sorry about that.  Often I'll use something like [concord](https://github.com/mbj/concord) to reduce boilerplate.  Usually this means not defining initialize at all, but sometimes I will write something like this:\r\n\r\n```ruby\r\nrequire 'concord'\r\n\r\n# Example thing\r\nclass Thing\r\n  include Concord.new(:foo, :bar)\r\n\r\n  def initialize(foo)\r\n    super(foo, foo * 100)\r\n  end\r\nend\r\n```\r\n\r\nwhich produces the following\r\n\r\n```sh\r\n$ reek reek-utility-initialize.rb\r\nreek-utility-initialize.rb -- 1 warning:\r\n  [7]:Thing#initialize doesn't depend on instance state (maybe move it to another class?) (UtilityFunction)\r\n```"}}