[ty] Sync vendored typeshed stubs, support builtins.sentinel#26341
Merged
Conversation
added 8 commits
June 24, 2026 21:56
Typing conformance resultsNo changes detected ✅Current numbersThe percentage of diagnostics emitted that were expected errors held steady at 94.47%. The percentage of expected errors that received a diagnostic held steady at 89.19%. The number of fully passing files held steady at 95/134. |
Memory usage reportSummary
Significant changesClick to expand detailed breakdowntrio
prefect
flake8
sphinx
|
|
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
missing-argument |
5 | 0 | 0 |
not-subscriptable |
4 | 0 | 0 |
invalid-argument-type |
2 | 0 | 0 |
| Total | 11 | 0 | 0 |
Raw diff:
scipy (https://github.com/scipy/scipy)
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:29:17 error[missing-argument] No argument provided for required parameter `dimensions` of `Benchmark.__init__`
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:33:50 error[not-subscriptable] Cannot subscript object of type `None` with no `__getitem__` method
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:35:54 error[not-subscriptable] Cannot subscript object of type `None` with no `__getitem__` method
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:38:42 error[not-subscriptable] Cannot subscript object of type `None` with no `__getitem__` method
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:39:30 error[not-subscriptable] Cannot subscript object of type `None` with no `__getitem__` method
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:47:17 error[missing-argument] No argument provided for required parameter `dimensions` of `Benchmark.__init__`
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:58:17 error[missing-argument] No argument provided for required parameter `dimensions` of `Benchmark.__init__`
+ benchmarks/benchmarks/tests/test_go_benchmark_functions.py:65:13 error[missing-argument] No argument provided for required parameter `dimensions` of `Benchmark.__init__`
+ benchmarks/benchmarks/lsq_problems.py:481:36 error[invalid-argument-type] Argument to constructor `enumerate.__new__` is incorrect: Expected `Iterable[Unknown]`, found `None | Unknown`
+ benchmarks/benchmarks/lsq_problems.py:482:24 error[invalid-argument-type] Argument to function `len` is incorrect: Expected `Sized`, found `None | Unknown`
+ benchmarks/benchmarks/lsq_problems.py:486:38 error[missing-argument] No arguments provided for required parameters `m`, `fopt`, `x0` of `LSQBenchmarkProblem.__init__`
Member
|
I think those hits are all due to python/typeshed#15931 |
builtins.sentinel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close and reopen this PR to trigger CI
Closes #26262, closes astral-sh/ty#3752