I would like to exclude a folder from the mypy checks. Looking at the documentation I tried the following configuration in my mypy.ini configuration file
[mypy]
python_version = 3.8
exclude '/venv/'
with no luck.
I want to exclude my virtual environment from mypy checking. I only one to type check the code that I write.
Is it a bug from mypy?
I am using mypy 0.901 and mypy-extensions 0.4.3. Also I am using mypy vs-code extension 0.2.0.
exclude = /venv/
, and maybe the initial/
as well:exclude = venv/
(depending on whethervenv
is a sibling of your ini file or located somewhere deeper)