-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[typehints] tests: enable mypy for linkcheck builder tests. #12160
[typehints] tests: enable mypy for linkcheck builder tests. #12160
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two more comments:
- should this wait until after use 'types-docutils' instead of 'docutils-stubs' for docutils type annotations #12012 is merged?
- can you modify the mypy config so that these files are not whitelisted?
Thanks @danieleades for the review! I'll respond to the other questions soon; for now:
Yep, I'm OK to wait for that 👍
Odd, I thought I had done that. But I will push that change, thanks! |
(cherry picked from commit 56ef23b)
Relates-to commit 56ef23b.
…ment-phase to Sphinx fixture 'confoverrides'.
With that merged, I'm going to merge mainline again into this branch (
Also resolved - thanks again! |
In addition, I'm considering merging #12199 today as well (see the rationale in the PR). |
Ok, thanks @picnixz. Since this affects other branches, my preferred order to merge would be:
(and oops, I missed your edit before commenting on that PR - but I could help out with attempting the copyright method refactor if that'd be useful) |
I'll wait for the opinion of others for the mypy exclusion |
there's a significant downside to this approach compared to the |
For this one, I would suggest (since we are in a test-file) using a top-file comment. |
Conflicts: tests/test_builders/test_build_linkcheck.py
… signature. Post-merge conflict resolution for commit 3545153.
Conflicts: tests/test_builders/test_build_linkcheck.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good cheers
Feature or Bugfix
Purpose
Detail
mypy
typechecking for thetests/test_builders/test_build_linkcheck.py
file.Relates