This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
null-ls fails to find django-stubs (mypy) #1221
-
Hi 👋 I'm trying to add mypy typings for Django but null-ls crashes. My pyproject.toml [tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "core.settings.dev" This is the error:
Someone has been able to make it work? |
Beta Was this translation helpful? Give feedback.
Answered by
kofteistkofte
Dec 29, 2022
Replies: 1 comment 4 replies
-
I had the same issue. this seems to be working for me: null_ls.builtins.diagnostics.mypy.with{command={'python', '-m', 'mypy'}} |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
lcfd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had the same issue. this seems to be working for me: