mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 05:51:03 -05:00
Ref: https://github.com/astral-sh/ruff/pull/14788#discussion_r1872242283 This PR: * Separates code snippets as individual tests for the invalid syntax cases * Adds a general comment explaining why the parser could emit more syntax errors than expected
Markdown files within the mdtest/ subdirectory are tests of type inference and type checking;
executed by the tests/mdtest.rs integration test.
See crates/red_knot_test/README.md for documentation of this test format.