Using mypy

Ви переглядаєте англійську версію сторінки, тому що її ще не було повністю перекладеною українською. Бажаєте допомогти? Дивіться як взяти Участь.

If you’re using mypy, you’ll need to turn on namespace packages, otherwise mypy won’t be able to run correctly.

To turn on namespace packages, do one of the following:

Add the following to your project configuration file:

[tool.mypy]
namespace_packages = true

Or, use a command-line switch:

mypy --namespace-packages