8000 Remove check_type_completeness and verify_types_*.json, minor fixes by jakkdl · Pull Request #2877 · python-trio/trio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove check_type_completeness and verify_types_*.json, minor fixes #2877

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

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

jakkdl
Copy link
Member
@jakkdl jakkdl commented Nov 14, 2023

Copied some formatting from mypy to get something into the github CI error summary, but this shouldn't fail as often so don't think it needs to be as fully decked out.

…t --verifytypes directly into check.sh. Fix pyright type_tests location.
Copy link
codecov bot commented Nov 14, 2023

Codecov Report

Merging #2877 (a1cd7b4) into master (d5c0fb8) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2877      +/-   ##
==========================================
+ Coverage   99.51%   99.54%   +0.02%     
==========================================
  Files         115      115              
  Lines       17683    17672      -11     
  Branches     3172     3167       -5     
==========================================
- Hits        17598    17592       -6     
+ Misses         56       52       -4     
+ Partials       29       28       -1     
Files Coverage Δ
src/trio/_core/_asyncgens.py 100.00% <100.00%> (ø)
src/trio/_core/_wakeup_socketpair.py 100.00% <100.00%> (ø)
src/trio/_tests/test_exports.py 98.85% <ø> (+1.76%) ⬆️

@TeamSpen210 TeamSpen210 added the typing Adding static types to trio's interface label Nov 14, 2023
Copy link
Contributor
@A5rocks A5rocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Would love for pyright to change their behavior!

@jakkdl
Copy link
Member Author
jakkdl commented Nov 17, 2023

Looks good to me. Would love for pyright to change their behavior!

I guess we could go with their suggestion of --outputjson and parsing out known errors. But that's for a separate PR

@jakkdl jakkdl merged commit 3eaa931 into python-trio:master Nov 17, 2023
@jakkdl jakkdl deleted the remove_json branch November 17, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typing Adding static types to trio's interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remaining tasks until --verifytypes passes and check_type_completeness.py can be removed
3 participants
0