mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 14:00:51 -05:00
I gave up trying to do this one lint at a time and just (mostly) mechanically translated this entire file in one go. Generally the messages stay the same (with most moving from an annotation message to the diagnostic's main message). I added a couple of `info` sub-diagnostics where it seemed to be the obvious intent.
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.