Trying to run Mypy linter in VSCode, always getting the same error in the output...
The root of the Django project and the workspace directory are different.
##########Linting Output - mypy##########
Error constructing plugin instance of NewSemanalDRFPlugin
- mypy==0.770
- mypy-extensions==0.4.3
- django-stubs==1.5.0
- djangorestframework-stubs==1.2.0
python3.8.5
Django with DRF
PYTHONPATH
has to contain the root of your django project, or Mypy has to be called from the root of the django project.