ruff/crates/red_knot_python_semantic/src
Shaygan Hooshyari b26448926a
Allow assigning ellipsis literal as parameter default value (#14982)
Resolves #14840

## Summary

Usage of ellipsis literal as default argument is allowed in stub files.

## Test Plan

Added mdtest for both python files and stub files.


---------

Co-authored-by: Carl Meyer <carl@oddbird.net>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-01-05 13:11:32 -06:00
..
module_resolver [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
semantic_index [red-knot] fix control flow for assignment expressions in elif tests (#15274) 2025-01-05 18:35:29 +00:00
types Allow assigning ellipsis literal as parameter default value (#14982) 2025-01-05 13:11:32 -06:00
util [red-knot] Improve ergonomics for the PySlice trait (#13983) 2024-10-29 20:40:59 +00:00
ast_node_ref.rs @no_type_check support (#15122) 2024-12-30 09:42:18 +00:00
db.rs type: ignore[codes] and knot: ignore (#15078) 2024-12-23 10:52:43 +01:00
lib.rs Add invalid-ignore-comment rule (#15094) 2024-12-23 10:38:10 +00:00
lint.rs Add unknown-rule (#15085) 2024-12-23 11:30:54 +01:00
module_name.rs Bind top-most parent when importing nested module (#14946) 2024-12-16 16:15:40 -05:00
node_key.rs [red-knot] Use memory address as AST node key (#14317) 2024-11-13 14:35:54 +01:00
program.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
python_platform.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
python_version.rs Add tracing support to mdtest (#14935) 2024-12-13 09:10:01 +00:00
semantic_index.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
semantic_model.rs [red-knot] Unify setup_db() functions, add TestDb builder (#14777) 2024-12-04 21:36:54 +01:00
site_packages.rs Rename custom-typeshed-dir, target-version and current-directory CLI options (#14930) 2024-12-13 08:21:52 +00:00
stdlib.rs [red-knot] Rename and rework the CoreStdlibModule enum (#15071) 2024-12-19 20:59:00 +00:00
suppression.rs Add invalid-ignore-comment rule (#15094) 2024-12-23 10:38:10 +00:00
symbol.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00
types.rs [red-knot] Type::SubclassOf(SubclassOfType { base: ClassBase::Unknown }).to_instance() should be Unknown, not Any (#15269) 2025-01-05 15:14:01 +00:00
unpack.rs Allow assigning ellipsis literal as parameter default value (#14982) 2025-01-05 13:11:32 -06:00
visibility_constraints.rs [red-knot] Statically known branches (#15019) 2024-12-21 11:33:10 +01:00