-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mypy not ignoring file #160
Comments
… altering the file.
I think mypy is following this import. |
Oh, right. I hadn't considered that the checking has to be done holistically. Yeah, that makes sense. I did find that I could suppress the errors by configuring the project to ignore types for that module. I guess it's conceivable that pytest-mypy could translate the |
I've found another project affected by this issue: keyrings.alt. This project has a module
|
The jaraco.site project has a file in the tree that's ignored for tests.
However, even with that configuration, the file gets collected and is run by mypy and causes tests to fail:
Is there a way that pytest-mypy can honor collect_ignore?
The text was updated successfully, but these errors were encountered: