Skip to content

Mypy exclude paths option #1109

Answered by hauntsaninja
laurentluce asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, in your mypy config file, you can do something like:

[mypy-somepackage.whatever.*]
ignore_errors = True

If you have some code that you don't want mypy to look at at all (mypy will replace all symbols originating from this code with Any), you can do something like:

[mypy-somepackage.whatever.*]
follow_imports = skip

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@laurentluce
Comment options

@laurentluce
Comment options

Answer selected by laurentluce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants