Repository navigation
Commit 2e6bafd
committed
regenerated the .byi typeshed, threaded ProgramEnvironment through the type
system, and reconciled the fork's features with upstream's new ones:
- numeric-tower unions always display expanded (`int | float`), never `float*`
- an inferred-bivariant class parameter keeps its bivariance when a private
member is what made it bivariant; the spec's covariance fallback still
applies to a parameter no member mentions
- adopted upstream's bool-conversion check on comprehension guards
- `__new__` keeps its implicit `cls` when explicitly decorated `@staticmethod`
13042 tests pass; the workspace is clippy-clean under -D warnings
3,053 files changed
Lines changed: 110373 additions & 45830 deletions
File tree
- .agents/skills
- minimizing-ty-ecosystem-changes
- references
- summarise-ecosystem-results
- assets
- references
- .config
- .github
- workflows
- changelogs
- crates
- basedpython
- by_irbuild/src
- by_override_patch/src
- by_transforms/src
- transforms
- by_typeshed_patch/src/patches
- mdtest/src
- ruff_annotate_snippets
- examples
- src
- renderer
- tests
- color
- fixtures
- color
- ruff_benchmark
- benches
- ruff_cache
- ruff_db
- src
- diagnostic
- render
- snapshots
- files
- system
- ruff_dev/src
- ruff_diagnostics
- src
- ruff_formatter
- src
- format_element
- printer
- ruff_graph
- src
- ruff_index
- src
- ruff_linter
- resources
- mdtest
- flake8-bandit
- flake8-pyi
- flake8-pytest-style
- flake8-return
- notebook
- pyflakes
- pylint
- pyupgrade
- ruff
- suppression
- test/fixtures
- flake8_bugbear
- flake8_comprehensions
- flake8_pytest_style
- pydocstyle
- pylint
- refurb
- src
- checkers/ast
- analyze
- docstrings
- message
- registry
- rules
- airflow
- rules
- snapshots
- basedpython/snapshots
- eradicate/snapshots
- fastapi
- rules
- flake8_2020/snapshots
- flake8_annotations/snapshots
- flake8_async
- rules
- snapshots
- flake8_bandit
- rules
- snapshots
- flake8_blind_except
- rules
- snapshots
- flake8_boolean_trap
- snapshots
- flake8_bugbear
- rules
- snapshots
- flake8_builtins
- snapshots
- flake8_commas/snapshots
- flake8_comprehensions
- rules
- snapshots
- flake8_copyright/rules
- flake8_datetimez
- rules
- snapshots
- flake8_debugger/snapshots
- flake8_django/snapshots
- flake8_errmsg/snapshots
- flake8_executable/snapshots
- flake8_fixme/snapshots
- flake8_future_annotations
- snapshots
- flake8_gettext
- rules
- snapshots
- flake8_implicit_str_concat
- rules
- snapshots
- flake8_import_conventions
- snapshots
- flake8_logging_format/snapshots
- flake8_logging
- rules
- snapshots
- flake8_pie
- rules
- snapshots
- flake8_pyi
- rules
- snapshots
- flake8_pytest_style
- rules
- snapshots
- flake8_quotes
- rules
- snapshots
- flake8_raise
- rules
- snapshots
- flake8_return
- rules
- snapshots
- flake8_self
- snapshots
- flake8_simplify
- rules
- snapshots
- flake8_tidy_imports
- snapshots
- flake8_todos
- rules
- snapshots
- flake8_type_checking
- snapshots
- flake8_use_pathlib
- rules
- snapshots
- flynt
- isort
- snapshots
- numpy
- rules
- snapshots
- pandas_vet/snapshots
- pep8_naming
- rules
- snapshots
- perflint
- rules
- snapshots
- pycodestyle
- rules
- logical_lines
- snapshots
- pydoclint/rules
- pydocstyle
- rules
- snapshots
- pyflakes
- rules
- snapshots
- pygrep_hooks
- snapshots
- pylint
- rules
- snapshots
- pyupgrade
- rules
- pep695
- snapshots
- refurb
- rules
- snapshots
- ruff
- rules
- snapshots
- tryceratops/snapshots
- settings
- snapshots
- ruff_macros
- src
- ruff_markdown
- ruff_mdtest/src
- ruff_memory_usage
- ruff_notebook
- src
- ruff_options_metadata
- ruff_python_ast
- src
- token
- visitor
- ruff_python_codegen
- src
- ruff_python_formatter
- src
- comments
- expression
- other
- pattern
- statement
- string
- ruff_python_importer
- ruff_python_index
- src
- ruff_python_literal
- src
- ruff_python_parser
- resources/invalid/statements
- src
- lexer
- parser
- tests
- snapshots
- ruff_python_semantic
- src
- analyze
- cfg
- model
- ruff_python_stdlib
- src
- ruff_python_trivia
- src
- ruff_ranged_value
- src
- ruff_server
- src
- edit
- server
- api/requests
- schedule/thread
- session
- index
- tests/e2e
- ruff_source_file
- src
- ruff_text_size
- ruff_wasm
- src
- ruff_workspace
- src
- ruff
- src
- commands
- tests
- cli
- snapshots
- ty_combine
- ty_completion_bench/src
- ty_completion_eval
- src
- truth
- import-deprioritizes-type_check_only
- typing-only-auto-import-ranking
- ty_ide/src
- call_hierarchy
- django_template
- docstring
- document
- markdown
- general
- structured
- snapshots
- ty_module_resolver
- src
- ty_project
- src
- db
- metadata
- watch
- ty_python_core
- src
- builder
- use_def
- ty_python_semantic
- resources
- corpus
- lint_docs
- mdtest
- annotations
- assignment
- binary
- call
- comparison
- instances
- comprehensions
- dataclasses
- declaration
- diagnostics
- directives
- expression
- external
- function
- generics
- legacy
- pep695
- ide_support
- import
- libraries
- loops
- narrow
- conditionals
- regression
- scopes
- snapshots
- subscript
- suppressions
- type_compendium
- type_of
- type_properties
- type_qualifiers
- unary
- with
- primer
- src
- diagnostic
- suppression
- types
- call
- bind
- class
- constraints
- dedicated
- equality
- ide_support
- infer
- builder
- post_inference
- narrow
- property_tests
- set_theoretic
- tuple
- tests
- ty_server
- src
- document
- server
- api
- notifications
- requests
- schedule/thread
- session
- tests/e2e
- snapshots
- ty_site_packages
- src
- ty_static
- src
- ty_test
- src
- ty_vendored
- ty_extensions
- typeshed_patches
- vendor/typeshed
- stdlib
- _typeshed
- asyncio
- collections
- concurrent
- futures
- interpreters
- ctypes
- macholib
- curses
- dbm
- distutils
- command
- email
- encodings
- http
- importlib
- resources
- json
- lib2to3
- fixes
- pgen2
- logging
- math
- multiprocessing
- dummy
- os
- pathlib
- profiling
- sampling
- pyexpat
- sqlite3
- string
- sys
- tkinter
- unittest
- urllib
- wsgiref
- xml
- dom
- parsers
- sax
- ty
- docs
- src
- tests
- cli
- snapshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | | - | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
58 | | - | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
66 | | - | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
71 | | - | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
79 | 109 | | |
80 | 110 | | |
81 | 111 | | |
82 | | - | |
| 112 | + | |
| 113 | + | |
83 | 114 | | |
84 | | - | |
| 115 | + | |
| 116 | + | |
85 | 117 | | |
86 | 118 | | |
87 | | - | |
| 119 | + | |
88 | 120 | | |
89 | 121 | | |
90 | 122 | | |
91 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
92 | 128 | | |
93 | 129 | | |
94 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
6 | 18 | | |
7 | 19 | | |
8 | 20 | | |
| |||
14 | 26 | | |
15 | 27 | | |
16 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
17 | 48 | | |
18 | | - | |
19 | | - | |
20 | 49 | | |
21 | 50 | | |
22 | 51 | | |
23 | 52 | | |
24 | 53 | | |
25 | 54 | | |
26 | | - | |
| 55 | + | |
27 | 56 | | |
28 | 57 | | |
29 | 58 | | |
30 | | - | |
31 | 59 | | |
32 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
0 commit comments