Commit c836146
committed
Merge remote-tracking branch 'origin/main' into dcreager/non-non-inferable
* origin/main: (26 commits)
[ty] Add separate type for typevar "identity" (#20813)
[ty] Diagnostic for generic classes that reference typevars in enclosing scope (#20822)
Update Python compatibility from 3.13 to 3.14 in README.md (#20852)
[syntax-errors]: break outside loop F701 (#20556)
[ty] Treat `Callable`s as bound-method descriptors in special cases (#20802)
[ty] Do not bind self to non-positional parameters (#20850)
Fix syntax error false positives on parenthesized context managers (#20846)
[ty] Remove 'pre-release software' warning (#20817)
Render unsupported syntax errors in formatter tests (#20777)
[ty] Treat functions, methods, and dynamic types as function-like `Callable`s (#20842)
[ty] Move logic for `super()` inference to a new `types::bound_super` submodule (#20840)
[ty] Fix false-positive diagnostics on `super()` calls (#20814)
[ty] Move `class_member` to `member` module (#20837)
[`ruff`] Use DiagnosticTag for more flake8 and numpy rules (#20758)
[ty] Prefer declared base class attribute over inferred attribute on subclass (#20764)
[ty] Log files that are slow to type check (#20836)
Update cargo-bins/cargo-binstall action to v1.15.7 (#20827)
Update CodSpeedHQ/action action to v4.1.1 (#20828)
Update Rust crate pyproject-toml to v0.13.7 (#20835)
Update Rust crate anstream to v0.6.21 (#20829)
...File tree
106 files changed
+3831
-3126
lines changed- .github/workflows
- crates
- ruff_db/src/diagnostic
- ruff_linter/src
- checkers/ast
- analyze
- rules
- flake8_bandit/rules
- flake8_pyi/rules
- flake8_pytest_style/rules
- flake8_unused_arguments/rules
- numpy/rules
- pyflakes/rules
- ruff_python_formatter
- resources/test/fixtures/ruff/expression
- tests
- snapshots
- ruff_python_parser
- resources/inline
- err
- ok
- src
- parser
- tests
- snapshots
- ty_python_semantic
- resources/mdtest
- annotations
- call
- class
- dataclasses
- exception
- generics
- legacy
- ide_support
- literal/collections
- loops
- narrow
- snapshots
- type_properties
- src
- semantic_index
- types
- infer
- ty_test/src
- ty
- src
- tests/cli
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
106 files changed
+3831
-3126
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
706 | | - | |
| 706 | + | |
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
| |||
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
956 | | - | |
| 956 | + | |
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
| |||
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
991 | | - | |
| 991 | + | |
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
| |||
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | | - | |
| 1029 | + | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1170 | 1170 | | |
1171 | 1171 | | |
1172 | 1172 | | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
1173 | 1198 | | |
1174 | 1199 | | |
1175 | 1200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 53 | | |
63 | 54 | | |
64 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| 700 | + | |
700 | 701 | | |
701 | 702 | | |
702 | 703 | | |
703 | 704 | | |
704 | 705 | | |
705 | 706 | | |
706 | 707 | | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
707 | 714 | | |
708 | 715 | | |
709 | 716 | | |
| |||
811 | 818 | | |
812 | 819 | | |
813 | 820 | | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
814 | 842 | | |
815 | 843 | | |
816 | 844 | | |
817 | 845 | | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
818 | 849 | | |
819 | 850 | | |
820 | 851 | | |
821 | 852 | | |
822 | 853 | | |
823 | 854 | | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | 855 | | |
828 | 856 | | |
829 | 857 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1091 | 1091 | | |
1092 | 1092 | | |
1093 | 1093 | | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
1097 | 1100 | | |
1098 | 1101 | | |
1099 | 1102 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
0 commit comments