ruff/crates
Micha Reiser 5be90c3a67
Split the corpus tests into smaller tests (#14367)
## Summary

This PR splits the corpus tests into smaller chunks because running all
of them takes 8s on my windows machine and it's by far the longest test
in `red_knot_workspace`.

Splitting the tests has the advantage that they run in parallel. This PR
brings down the wall time from 8s to 4s.

This PR also limits the glob for the linter tests because it's common to
clone cpython into the `ruff_linter/resources/test` folder for
benchmarks (because that's what's written in the contributing guides)

## Test Plan

`cargo test`
2024-11-16 20:29:21 +01:00
..
red_knot Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00
red_knot_python_semantic [red-knot] Simplify some traits in ast_ids.rs (#14379) 2024-11-16 17:22:23 +00:00
red_knot_server Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00
red_knot_test [red-knot] Improve mdtest output (#14213) 2024-11-11 11:03:41 +00:00
red_knot_vendored Sync vendored typeshed stubs (#14350) 2024-11-14 22:29:29 -08:00
red_knot_wasm Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00
red_knot_workspace Split the corpus tests into smaller tests (#14367) 2024-11-16 20:29:21 +01:00
ruff Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
ruff_benchmark Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00
ruff_cache
ruff_db Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
ruff_dev Alternate quotes for strings inside f-strings in preview (#13860) 2024-10-23 07:57:53 +02:00
ruff_diagnostics Document comment policy around fix safety (#14300) 2024-11-13 08:03:58 -05:00
ruff_formatter Join implicit concatenated strings when they fit on a line (#13663) 2024-10-24 11:52:22 +02:00
ruff_graph Bump MSRV to Rust 1.80 (#13826) 2024-10-20 10:55:36 +02:00
ruff_index
ruff_linter [pydoclint] Update diagnostics to target the docstring (#14381) 2024-11-16 13:32:20 -05:00
ruff_macros Derive message formats macro support to string (#14093) 2024-11-04 18:06:25 +01:00
ruff_notebook Bump MSRV to Rust 1.80 (#13826) 2024-10-20 10:55:36 +02:00
ruff_python_ast Remove the optional salsa dependency from the AST crate (#14363) 2024-11-15 16:46:04 +00:00
ruff_python_ast_integration_tests Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
ruff_python_codegen Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
ruff_python_formatter Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
ruff_python_index Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
ruff_python_literal Use bitshift consistently for bitflag definitions (#14265) 2024-11-11 10:20:17 +00:00
ruff_python_parser Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
ruff_python_resolver Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
ruff_python_semantic [ruff] Also report problems for attrs dataclasses in preview mode (RUF008, RUF009) (#14327) 2024-11-14 15:13:49 +00:00
ruff_python_stdlib Use bitshift consistently for bitflag definitions (#14265) 2024-11-11 10:20:17 +00:00
ruff_python_trivia Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
ruff_python_trivia_integration_tests Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
ruff_server Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
ruff_source_file Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
ruff_text_size Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
ruff_wasm Bump version to 0.7.4 (#14358) 2024-11-15 11:17:32 +00:00
ruff_workspace [flake8-markupsafe] Adds Implementation for MS001 via RUF035 (#14224) 2024-11-11 18:30:03 +00:00