-
Notifications
You must be signed in to change notification settings - Fork 33
[RFE] use tools.mypy from pyproject.toml #153
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
Comments
This should already be supported (but you need to use |
Oh no. Sorry for bothering, it's indeed me not being attentive enough and using |
No worries! It'll be good to have that test 👍 |
I'm not sure if it is fully taking all the configuration from the [tool.mypy]
exclude = ["tests/*"] It still runs mypy on the files that should be skipped. |
@djwessel That isn't specific to config in tl;dr: That option isn't terribly compatible with this plugin (which aims to let Pytest decide which files get checked). |
Configuring through
mypy.ini
works for me, but it'd be great if mypy invoked through pytest-mypy could pick up configuration fromtools.mypy
section ofpyproject.toml
as described in https://mypy.readthedocs.io/en/stable/config_file.html.The text was updated successfully, but these errors were encountered: