ruff/crates
Carl Meyer a4ebe7d344
[red-knot] consolidate diagnostic and inference tests (#13248)
Pull the tests from `types.rs` into `infer.rs`.

All of these are integration tests with the same basic form: create a
code sample, run type inference or check on it, and make some assertions
about types and/or diagnostics. These are the sort of tests we will want
to move into a test framework with a low-boilerplate custom textual
format. In the meantime, having them together (and more importantly,
their helper utilities together) means that it's easy to keep tests for
related language features together (iterable tests with other iterable
tests, callable tests with other callable tests), without an artificial
split based on tests which test diagnostics vs tests which test
inference. And it allows a single test to more easily test both
diagnostics and inference. (Ultimately in the test framework, they will
likely all test diagnostics, just in some cases the diagnostics will
come from `reveal_type()`.)
2024-09-05 09:15:22 -07:00
..
red_knot [red-knot] Add docs on using `RAYON_NUM_THREADS` for better logging (#13140) 2024-08-28 17:14:56 +01:00
red_knot_python_semantic [red-knot] consolidate diagnostic and inference tests (#13248) 2024-09-05 09:15:22 -07:00
red_knot_server [red-knot] Support untitled files in the server (#13044) 2024-08-23 12:47:35 +05:30
red_knot_wasm [red-knot] Improve the accuracy of the unresolved-import check (#13055) 2024-08-27 14:17:22 +01:00
red_knot_workspace [red-knot] fix scope inference with deferred types (#13204) 2024-09-03 11:20:43 -07:00
ruff Bump version to 0.6.4 (#13253) 2024-09-05 21:05:15 +05:30
ruff_benchmark [red-knot] AnnAssign with no RHS is not a Definition (#13247) 2024-09-05 08:55:00 -07:00
ruff_cache Fix cache key collisions for paths with separators (#12159) 2024-07-03 07:36:46 -05:00
ruff_db [red-knot] support deferred evaluation of type expressions (#13131) 2024-08-28 11:41:01 -07:00
ruff_dev Drop deprecated `nursery` rule group (#10172) 2024-06-27 13:44:11 +02:00
ruff_diagnostics [Minor typo] Fix article in "an fix" (#12797) 2024-08-10 21:22:00 -04:00
ruff_formatter Upgrade to Rust 1.80 (#12586) 2024-07-30 19:18:08 +00:00
ruff_index [red-knot] small efficiency improvements and bugfixes to use-def map building (#12373) 2024-07-18 09:24:58 -07:00
ruff_linter Bump version to 0.6.4 (#13253) 2024-09-05 21:05:15 +05:30
ruff_macros Drop deprecated `nursery` rule group (#10172) 2024-06-27 13:44:11 +02:00
ruff_notebook Fallback to kernelspec to check if it's a Python notebook (#12875) 2024-08-14 12:36:09 +05:30
ruff_python_ast Implement `AstNode` for `Identifier` (#13207) 2024-09-02 16:27:12 +05:30
ruff_python_ast_integration_tests Rename `PreorderVisitor` to `SourceOrderVisitor` (#11798) 2024-06-07 17:01:58 +00:00
ruff_python_codegen Implement `iter()`, `len()` and `is_empty()` for all display-literal AST nodes (#12807) 2024-08-12 10:39:28 +00:00
ruff_python_formatter Implement `AstNode` for `Identifier` (#13207) 2024-09-02 16:27:12 +05:30
ruff_python_index Enable token-based rules on source with syntax errors (#11950) 2024-07-02 08:57:46 +00:00
ruff_python_literal Remove some unused `pub` functions (#11576) 2024-05-28 09:56:51 -04:00
ruff_python_parser Add a method to `Checker` for cached parsing of stringified type annotations (#13158) 2024-09-02 12:44:20 +00:00
ruff_python_resolver chore(deps): update rust crate insta to v1.38.0 (#10701) 2024-04-01 15:44:30 +00:00
ruff_python_semantic Optimize some `SemanticModel` methods (#13091) 2024-09-02 10:03:52 +01:00
ruff_python_stdlib Improve detection of whether a symbol refers to a builtin exception (#13215) 2024-09-03 10:33:03 +00:00
ruff_python_trivia Stabilize fixes for `RET50{5-8}` (#12840) 2024-08-14 18:15:45 +02:00
ruff_python_trivia_integration_tests Build `CommentRanges` outside the parser (#11792) 2024-06-09 09:55:17 +00:00
ruff_server Show full error context in server messages (#13029) 2024-08-21 15:36:16 +05:30
ruff_source_file Add API to emit type-checking diagnostics (#12988) 2024-08-20 07:22:30 +00:00
ruff_text_size Upgrade to Rust 1.79 (#11875) 2024-06-17 07:15:10 +01:00
ruff_wasm Bump version to 0.6.4 (#13253) 2024-09-05 21:05:15 +05:30
ruff_workspace Add note about how Ruff handles PYI files wrt target version (#13111) 2024-08-27 17:28:22 +00:00