title: Why is this warning "Expected type 'int' (matched generic type '_T'), got 'Dict[str, None]' instead"?
body: <p>Please watch carefully the question and carefully the answers of <a href="https://stackoverflow.com/questions/27797011/what-does-this-warning-in-pycharm-mean">this and you'll see it's not a duplicate</a>, especially because they dont answer my question.</p>
  
  <p>Try to make a new empty project, and add this code. It works fine without warnings:</p>
  
  <pre><code>game_data = {'boats': [], }
  game_data['boats'].append({'name': None})
  </code></pre>
  
  <p>Now change it to:</p>
  
  <pre><code>game_data = {'boats': [], 'width': None, 'height': None, }
  game_data['boats'].append({'name': None})
  </code></pre>
  
  <p>Still no warnings.
  And change again to:</p>
  
  <pre><code>w = 12
  game_data = {'boats': [], 'width': None, 'height': w, }
  game_data['boats'].append({'name': None})
  </code></pre>
  
  <p>And now you'll get:</p>
  
  <pre><code>Expected type 'int' (matched generic type '_T'), got 'Dict[str, None]' instead
  </code></pre>
  
  <p>Am I the only one to have this? And why is this? Is there a solution to make this warning go away?</p>