title: Pycharm visual warning about unresolved attribute reference
body: <p>I have two classes that look  like this:</p>
  <pre><code>class BaseClass:
  
      def the_dct(self):
          return self.THE_DCT
  
  
  class Kid(BaseClass):
  
      THE_DCT = {'key': 'value'}
  
  
  # Code i ll be running
  inst = Kid()
  print(inst.the_dct())
  </code></pre>
  <p>Inheritance has to be this way; second class containing <code>THE_DCT</code> and first class containing <code>def the_dct</code>.</p>
  <p>It works just fine, but my problem is that i get a warning in Pycharm (unresolved attribute reference), about <code>THE_DCT</code> in <code>BaseClass</code>.</p>
  <ul>
  <li>Is there a reason why it's warning me (as in why i should avoid it)?</li>
  <li>Is there something i should do differently?</li>
  </ul>