Skip to content

[WIP] combined typing branch#2721

Closed
jakkdl wants to merge 64 commits intopython-trio:masterfrom
jakkdl:typing_improvements_
Closed

[WIP] combined typing branch#2721
jakkdl wants to merge 64 commits intopython-trio:masterfrom
jakkdl:typing_improvements_

Conversation

@jakkdl
Copy link
Member

@jakkdl jakkdl commented Jul 29, 2023

I've had this branch as a development branch locally to check compatibility between my typing PRs, and be able to quickly write mostly-fine types without waiting for reviews. But with @TeamSpen210 also working on types, I figured I should push this so we don't duplicate work. But feel free to grab stuff from it!

Don't bother reviewing this one, at least not in detail or in full. It'll likely be full of merge conflicts and failing tests and the like as well. I'm pulling out one or a few files at a time, cleaning them up, and opening separate PRs.

jakkdl added 30 commits July 13, 2023 15:21
@codecov
Copy link

codecov bot commented Jul 29, 2023

Codecov Report

Merging #2721 (47a7228) into master (4c38ba9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2721   +/-   ##
=======================================
  Coverage   98.92%   98.92%           
=======================================
  Files         113      113           
  Lines       16728    16745   +17     
  Branches     3026     3026           
=======================================
+ Hits        16548    16565   +17     
  Misses        124      124           
  Partials       56       56           
Files Changed Coverage Δ
trio/_tools/gen_exports.py 100.00% <ø> (ø)
trio/_core/_io_common.py 100.00% <100.00%> (ø)
trio/_core/_ki.py 100.00% <100.00%> (ø)
trio/_core/_parking_lot.py 100.00% <100.00%> (ø)
trio/_core/_tests/test_io.py 100.00% <100.00%> (ø)
trio/_core/_tests/test_ki.py 97.82% <100.00%> (+0.01%) ⬆️
trio/_core/_tests/test_multierror.py 100.00% <100.00%> (ø)
trio/_core/_tests/test_run.py 100.00% <100.00%> (ø)
trio/_core/_wakeup_socketpair.py 100.00% <100.00%> (ø)
trio/_path.py 100.00% <100.00%> (ø)
... and 11 more

@TeamSpen210 TeamSpen210 added the typing Adding static types to trio's interface label Jul 29, 2023
@jakkdl
Copy link
Member Author

jakkdl commented Aug 17, 2023

don't bother merging into this branch, it inverting the black/whitelist in pyproject.toml is kind of just a mess until that's done for master

jakkdl added 6 commits August 17, 2023 13:38
… issues found in 129 source files works again
# Conflicts:
#	pyproject.toml
#	trio/_core/_traps.py
#	trio/_subprocess.py
#	trio/_subprocess_platform/kqueue.py
#	trio/_subprocess_platform/windows.py
#	trio/_tests/verify_types.json
@jakkdl
Copy link
Member Author

jakkdl commented Aug 17, 2023

Superseded by #2763

@jakkdl jakkdl closed this Aug 17, 2023
@jakkdl jakkdl deleted the typing_improvements_ branch August 17, 2023 13:13
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.

3 participants