tl-its-umich-edu / my-learning-analytics

My Learning Analytics (MyLA)
Apache License 2.0
36 stars 39 forks source link

Disable or fix import-untyped error for mypy #1576

Open jonespm opened 2 months ago

jonespm commented 2 months ago

Describe the bug (Tell us what happens instead of the expected behavior) :

When using "Mypy Type Checker" extension in VSCode many errors for import-untyped are displayed. Like these

I don't believe there's a way to easily resolve these and mypy.ini in the root level could probably just be configured to ignore these.

This might just be

ignore_errors = import-untyped

But perhaps we can be more specific about this?

image

Steps to Reproduce :

  1. Launch VSCode and install the extension mentioned
  2. Open a file that imports any django files
  3. You'll should errors if not disabled.