title: Marking a class as deprecated so inheriting classes are marked in PyCharm
body: <p>It's possible to mark deprecated classes in Python/PyCharm like this:</p>
  
  <pre><code>class Foo:
      def __init__(self):
          warnings.warn('Use Bar instead.', DeprecationWarning)
  </code></pre>
  
  <p>Any code trying to instantiate <code>Foo</code> now will be appropriately marked by PyCharm as <strike><code>Foo()</code></strike>.</p>
  
  <p>However, just inheriting the class won't:</p>
  
  <pre><code>class Baz(Foo):
      pass
  </code></pre>
  
  <p>Is there any way to have the <em>declaration</em> of <code>Baz</code> marked with a deprecation warning in any way?</p>