-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Read mypy arguments from config file #9
Comments
Thanks report. I inv. it. |
Mr @vnmabus , Create test branchs.
Test code as same. setup.cfg see below: [mypy]
warn_no_return = False with setup.cfg test do no report As far as the results are concerned, it reads setup.cfg and works correctly. Please your action-mypy setting ( |
I still do not get what I am doing wrong. I have this PR: GAA-UAM/scikit-fda#296 The code for the workflow is
|
Note:
|
But it IS written like that... The mypy section is
|
Thanks, I tried your repo in local... now |
Tried local, get below:
same as https://github.com/GAA-UAM/scikit-fda/pull/296/files#r546687283 run as mypy installed global, no-plugin / standalone. This result seem to be correct. munnn... |
I think that I know what is happening here... Your action is calling mypy with flags by default, and the -strict flag takes precedence over the |
I guess that I could change |
Changing mypy_flags to the empty string seems to work, you can close this if you want. |
Okay, I understand everything.
Regards. |
It appears that mypy arguments in setup.cfg are not read. As a result, the action reports different errors than executing mypy locally.
The text was updated successfully, but these errors were encountered: