0

I have several apps in my Django project, but I wanted to exclude directories or apps, how can this be done.

Below is my mypy.ini file, but it doesn't work :

[mypy]
ignore_missing_imports = True
exclude = customers

As you can see above customers is one of my django apps (directory), what could be the best solution here?

Lutaaya Huzaifah Idris
  • 3,596
  • 8
  • 38
  • 77
  • Please explain what do you mean by "doesn't work". We need at least to understand your problem to answer. – STerliakov Jun 23 '22 at 14:27
  • Does this answer your question? [Exclude folder from mypy checking](https://stackoverflow.com/questions/67905546/exclude-folder-from-mypy-checking). To sum up, you can either alter `follow_imports` or set `ignore_errors = True` in override section for your module (`[mypy-customers] ignore_errors = true`). – STerliakov Jun 23 '22 at 14:28

0 Answers0