ruff/crates
Douglas Creager e17cd350b6
[red-knot] Support multiple overloads when binding parameters at call sites (#16568)
This updates the `Signature` and `CallBinding` machinery to support
multiple overloads for a callable. This is currently only used for
`KnownFunction`s that we special-case in our type inference code. It
does **_not_** yet update the semantic index builder to handle
`@overload` decorators and construct a multi-signature `Overloads`
instance for real Python functions.

While I was here, I updated many of the `try_call` special cases to use
signatures (possibly overloaded ones now) and `bind_call` to check
parameter lists. We still need some of the mutator methods on
`OverloadBinding` for the special cases where we need to update return
types based on some Rust code.
2025-03-11 15:08:17 -04:00
..
red_knot ruff_db: rename Diagnostic to OldDiagnosticTrait 2025-03-05 08:23:02 -05:00
red_knot_project [red-knot] Support unpacking with target (#16469) 2025-03-08 02:36:35 +00:00
red_knot_python_semantic [red-knot] Support multiple overloads when binding parameters at call sites (#16568) 2025-03-11 15:08:17 -04:00
red_knot_server ruff_db: rename Diagnostic to OldDiagnosticTrait 2025-03-05 08:23:02 -05:00
red_knot_test print MDTEST_TEST_FILTER value in single-quotes (and escaped) (#16548) 2025-03-07 09:04:52 +01:00
red_knot_vendored [red-knot] Do not ignore typeshed stubs for 'venv' module (#16596) 2025-03-10 09:07:48 +01:00
red_knot_wasm Add OsSystem support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
ruff Bump 0.9.10 (#16556) 2025-03-07 09:00:08 -06:00
ruff_annotate_snippets
ruff_benchmark [red-knot] Handle gradual intersection types in assignability (#16611) 2025-03-11 07:58:56 -07:00
ruff_cache
ruff_db Add OsSystem support to mdtests (#16518) 2025-03-06 10:41:40 +01:00
ruff_dev
ruff_diagnostics
ruff_formatter
ruff_graph
ruff_index
ruff_linter [pep8-naming] Add links to ignore-names options in various rules' documentation (#16557) 2025-03-07 14:49:08 -05:00
ruff_macros
ruff_notebook
ruff_python_ast [red-knot] Understand typing.Callable (#16493) 2025-03-08 03:58:52 +00:00
ruff_python_ast_integration_tests
ruff_python_codegen
ruff_python_formatter Assert that formatted code doesn't introduce any new unsupported syntax errors (#16549) 2025-03-07 09:12:00 +01:00
ruff_python_index
ruff_python_literal
ruff_python_parser Assert that formatted code doesn't introduce any new unsupported syntax errors (#16549) 2025-03-07 09:12:00 +01:00
ruff_python_resolver
ruff_python_semantic
ruff_python_stdlib
ruff_python_trivia
ruff_python_trivia_integration_tests
ruff_server Escape template filenames in glob patterns (#16407) 2025-03-03 09:29:58 -05:00
ruff_source_file
ruff_text_size
ruff_wasm Bump 0.9.10 (#16556) 2025-03-07 09:00:08 -06:00
ruff_workspace Escape template filenames in glob patterns (#16407) 2025-03-03 09:29:58 -05:00