title: django and mypy with apps in a subfolder
body: <p>We have a Django project with the following setup:</p>
  <p>We have our apps in an <code>apps</code> folder. We added all those apps to the python path at <code>settings.py</code> level.</p>
  <p>We then can refer and import these apps like so:</p>
  <pre class="lang-py prettyprint-override"><code>from apps.booking.models import Booking
  # or
  from booking.models import Booking
  </code></pre>
  <p>Now, we want to use mypy for type checking purposes.</p>
  <p>The issue is that mypy does not recognize the import <code>from booking.models import Booking</code> and complains about missing stubs for this module. This make the typing very unreliable and not very useful as <code>Booking</code> is then typed as <code>Any</code>. It works fine with an import as follow however <code>from apps.booking.models import Booking</code></p>
  <p><strong>Is there a way to make mypy understand the path without the prefix <code>apps.</code> ?</strong></p>
  <p>I tried to use <code>mypy_path = $MYPY_CONFIG_FILE_DIR/apps</code> in <code>mypy.ini</code> but without any success...</p>
  <p>Edit:</p>
  <p>For clarity, here is my full mypy.ini:</p>
  <pre class="lang-ini prettyprint-override"><code>[mypy]
  mypy_path = $MYPY_CONFIG_FILE_DIR/apps
  show_error_codes = true
  sqlite_cache = true
  plugins =
      mypy_django_plugin.main
  
  [mypy.plugins.django-stubs]
  django_settings_module = &quot;jelouemoncampingcar.settings&quot;
  </code></pre>