Commit 1193553
committed
Merge branch 'main' into unsupported-operator-diagnostics
* main: (188 commits)
[ty] Discover site-packages from the environment that ty is installed in (astral-sh#21286)
[ty] Make special cases for `UnionType` slightly narrower (astral-sh#21276)
Require ignore 0.4.24 in `Cargo.toml` (astral-sh#21292)
[ty] Favour imported symbols over builtin symbols (astral-sh#21285)
docs: revise Ruff setup instructions for Zed editor (astral-sh#20935)
[ty] Update salsa (astral-sh#21281)
[syntax-error]: no binding for nonlocal PLE0117 as a semantic syntax error (astral-sh#21032)
[ty] Constraining a typevar with itself (possibly via union or intersection) (astral-sh#21273)
[`ruff`] Fix false positives on starred arguments (`RUF057`) (astral-sh#21256)
[ty] Simplify unions containing multiple type variables during inference (astral-sh#21275)
[ty] Add `ty_server::Db` trait (astral-sh#21241)
[ty] Refactor `Range` to/from `TextRange` conversion as prep for notebook support (astral-sh#21230)
[ty] Fix playground crash when file name includes path separator (astral-sh#21151)
[`refurb`] Fix false negative for underscores before sign in `Decimal` constructor (`FURB157`) (astral-sh#21190)
[ty] Allow values of type `None` in type expressions (astral-sh#21263)
Run codspeed benchmarks with `profiling` profile (astral-sh#21261)
[ty] Update expected diagnostic count in benchmarks (astral-sh#21269)
Avoid extra parentheses for long `match` patterns with `as` captures (astral-sh#21176)
[ty] Update salsa (astral-sh#21265)
[ty] `dict` is not assignable to `TypedDict` (astral-sh#21238)
...File tree
1,295 files changed
+23228
-9105
lines changed- .github
- workflows
- crates
- ruff_benchmark/benches
- ruff_db/src
- system
- ruff_dev/src
- ruff_formatter/src
- ruff_graph/src
- ruff_linter
- resources/test/fixtures
- airflow
- flake8_bugbear
- flake8_django
- flake8_implicit_str_concat
- flake8_pyi
- flake8_simplify
- flake8_type_checking
- pydoclint
- pyflakes
- pylint
- pyupgrade
- refurb
- ruff
- semantic_errors
- src
- checkers/ast
- analyze
- docstrings
- message/snapshots
- rules
- airflow
- rules
- snapshots
- eradicate/rules
- fastapi/rules
- flake8_2020/rules
- flake8_annotations/rules
- flake8_async/rules
- flake8_bandit/rules
- flake8_blind_except/rules
- flake8_boolean_trap/rules
- flake8_bugbear
- rules
- snapshots
- flake8_builtins/rules
- flake8_commas/rules
- flake8_comprehensions/rules
- flake8_copyright/rules
- flake8_datetimez/rules
- flake8_debugger/rules
- flake8_django
- rules
- snapshots
- flake8_errmsg/rules
- flake8_executable/rules
- flake8_fixme/rules
- flake8_future_annotations/rules
- flake8_gettext/rules
- flake8_implicit_str_concat
- rules
- snapshots
- flake8_import_conventions/rules
- flake8_logging_format
- flake8_logging/rules
- flake8_no_pep420/rules
- flake8_pie/rules
- flake8_print/rules
- flake8_pyi
- rules
- snapshots
- flake8_pytest_style
- rules
- flake8_quotes
- rules
- flake8_raise/rules
- flake8_return/rules
- flake8_self/rules
- flake8_simplify
- rules
- snapshots
- flake8_slots/rules
- flake8_tidy_imports/rules
- flake8_todos/rules
- flake8_type_checking
- rules
- snapshots
- flake8_unused_arguments/rules
- flake8_use_pathlib
- rules
- flynt/rules
- isort
- rules
- mccabe/rules
- numpy/rules
- pandas_vet/rules
- pep8_naming/rules
- perflint/rules
- pycodestyle
- rules
- logical_lines
- snapshots
- pydoclint
- rules
- snapshots
- pydocstyle/rules
- pyflakes
- rules
- snapshots
- pygrep_hooks/rules
- pylint
- rules
- snapshots
- pyupgrade
- rules
- pep695
- snapshots
- refurb
- rules
- snapshots
- ruff
- rules
- snapshots
- tryceratops/rules
- snapshots
- ruff_macros/src
- ruff_python_ast
- src
- ruff_python_codegen/src
- ruff_python_formatter
- resources/test/fixtures/ruff
- fmt_on_off
- range_formatting
- statement
- src
- pattern
- statement
- tests
- snapshots
- ruff_python_parser
- resources/inline/ok
- src
- tests
- snapshots
- ruff_python_semantic/src
- analyze
- ruff_server/src/session/index
- ruff_wasm
- ruff_workspace/src
- ruff
- src
- commands
- tests
- snapshots
- ty_completion_eval
- truth
- auto-import-skips-current-module
- subdir
- import-deprioritizes-type_check_only
- ty_ide
- src
- ty_project/src
- metadata
- ty_python_semantic
- resources
- corpus
- mdtest
- annotations
- assignment
- binary
- call
- class
- comprehensions
- dataclasses
- expression
- function
- generics
- legacy
- pep695
- ide_support
- import
- literal/collections
- loops
- narrow
- regression
- snapshots
- stubs
- subscript
- type_compendium
- type_of
- type_properties
- type_qualifiers
- primer
- src
- semantic_index
- types
- call
- infer
- builder
- ty_server
- src
- document
- server
- api
- notifications
- requests
- session
- ty_test
- src
- ty_vendored
- ty_extensions
- vendor/typeshed
- stdlib
- os
- sys
- tkinter
- ty
- docs
- src
- tests/cli
- docs
- editors
- fuzz
- playground
- ruff
- ty
- src/Editor
- python
- py-fuzzer
- ruff-ecosystem
- ruff_ecosystem
- scripts
- benchmarks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,295 files changed
+23228
-9105
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
| 280 | + | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
440 | 442 | | |
441 | | - | |
| 443 | + | |
442 | 444 | | |
443 | 445 | | |
444 | 446 | | |
| |||
458 | 460 | | |
459 | 461 | | |
460 | 462 | | |
461 | | - | |
| 463 | + | |
462 | 464 | | |
463 | 465 | | |
464 | 466 | | |
| |||
494 | 496 | | |
495 | 497 | | |
496 | 498 | | |
497 | | - | |
| 499 | + | |
498 | 500 | | |
499 | 501 | | |
500 | 502 | | |
| |||
529 | 531 | | |
530 | 532 | | |
531 | 533 | | |
532 | | - | |
| 534 | + | |
533 | 535 | | |
534 | | - | |
535 | | - | |
| 536 | + | |
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
| |||
646 | 647 | | |
647 | 648 | | |
648 | 649 | | |
649 | | - | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
| 653 | + | |
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
| 657 | + | |
657 | 658 | | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
672 | 665 | | |
673 | 666 | | |
674 | 667 | | |
675 | | - | |
676 | 668 | | |
677 | | - | |
678 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
679 | 680 | | |
680 | 681 | | |
681 | 682 | | |
682 | 683 | | |
683 | 684 | | |
684 | 685 | | |
685 | 686 | | |
686 | | - | |
687 | | - | |
| 687 | + | |
| 688 | + | |
688 | 689 | | |
689 | 690 | | |
690 | 691 | | |
| |||
699 | 700 | | |
700 | 701 | | |
701 | 702 | | |
702 | | - | |
| 703 | + | |
703 | 704 | | |
704 | 705 | | |
705 | 706 | | |
| |||
712 | 713 | | |
713 | 714 | | |
714 | 715 | | |
715 | | - | |
| 716 | + | |
716 | 717 | | |
717 | 718 | | |
718 | 719 | | |
| 720 | + | |
| 721 | + | |
719 | 722 | | |
720 | 723 | | |
721 | 724 | | |
| |||
757 | 760 | | |
758 | 761 | | |
759 | 762 | | |
760 | | - | |
| 763 | + | |
761 | 764 | | |
762 | | - | |
| 765 | + | |
763 | 766 | | |
764 | 767 | | |
765 | 768 | | |
| |||
797 | 800 | | |
798 | 801 | | |
799 | 802 | | |
800 | | - | |
| 803 | + | |
801 | 804 | | |
802 | 805 | | |
803 | 806 | | |
| |||
901 | 904 | | |
902 | 905 | | |
903 | 906 | | |
904 | | - | |
| 907 | + | |
905 | 908 | | |
906 | 909 | | |
907 | 910 | | |
| |||
939 | 942 | | |
940 | 943 | | |
941 | 944 | | |
942 | | - | |
| 945 | + | |
943 | 946 | | |
944 | 947 | | |
945 | 948 | | |
946 | 949 | | |
947 | 950 | | |
948 | | - | |
| 951 | + | |
949 | 952 | | |
950 | 953 | | |
951 | 954 | | |
952 | 955 | | |
953 | | - | |
| 956 | + | |
954 | 957 | | |
955 | 958 | | |
956 | 959 | | |
| |||
977 | 980 | | |
978 | 981 | | |
979 | 982 | | |
980 | | - | |
| 983 | + | |
981 | 984 | | |
982 | 985 | | |
983 | 986 | | |
984 | 987 | | |
985 | 988 | | |
986 | | - | |
| 989 | + | |
987 | 990 | | |
988 | 991 | | |
989 | 992 | | |
990 | 993 | | |
991 | | - | |
| 994 | + | |
992 | 995 | | |
993 | 996 | | |
994 | 997 | | |
| |||
1015 | 1018 | | |
1016 | 1019 | | |
1017 | 1020 | | |
1018 | | - | |
| 1021 | + | |
1019 | 1022 | | |
1020 | 1023 | | |
1021 | 1024 | | |
1022 | 1025 | | |
1023 | 1026 | | |
1024 | | - | |
| 1027 | + | |
1025 | 1028 | | |
1026 | 1029 | | |
1027 | 1030 | | |
1028 | 1031 | | |
1029 | | - | |
| 1032 | + | |
1030 | 1033 | | |
1031 | 1034 | | |
1032 | 1035 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments