-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
upload updated mypy.ini if needed #1624
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1624 +/- ##
=======================================
Coverage 90.92% 90.92%
=======================================
Files 108 108
Lines 11663 11663
=======================================
Hits 10604 10604
Misses 1059 1059 Continue to review full report at Codecov.
|
Hey, it works. If someone else could confirm this too I can remove those non-needed commits and we can merge this. |
So I read this but I dont really get what it does and am confused that you say it works but CI is failing? For specifica feedback, can we add a comment to yml file explaining what this thing is, even one line helps |
We recently added mypy and typing copilot to CI. mypy checks that the code does not incur in any type errors, which sounds great, however, many parts of our codebase and many of our dependencies do not use type hints everywhere (or at all). Therefore, mypy check relies on a very long and specific The improvement Ari is adding with this PR is that now, whenever typing copilot fails ci, azure will rerun typing copilot, but not as a check, as mypy.ini generator and upload the improved mypy.ini as an artifact. Thus, "fixing" the failing CI will become downloading the updated mypy.ini from azure and adding it to the repo. Regarding explanation, I'd rather have something added to the dev guide instead of comments, we can all update #1587 |
I can confirm that the mypy.ini is uploaded and looks great, thanks for this @ahartikainen |
a8492d0
to
0d52e39
Compare
Do we add a mention about updating mypy.ini in #1587 or here? |
I would do it at #1587, still trying to decide how to organize the doc, but I think we should probably have a section about CI |
Very cool! |
* upload updated mypy.ini if needed * Update CHANGELOG.md
Description
Checklist