ruff
ffd94e9a - red_knot_test: generate names for unnamed files using more local reasoning

Commit
1 year ago
red_knot_test: generate names for unnamed files using more local reasoning This change was done to reduce snapshot churn. Previously, if one added a new section to an Markdown test suite, then the snapshots of all sections with unnamed files below it would necessarily change because of the unnamed file count being global to the test suite. Instead, we track counts based on section. While adding new unnamed files within a section will still change unnamed files below it, I believe this will be less "churn" because the snapshot will need to change anyway. Some churn is still possible, e.g., if code blocks are re-ordered. But I think this is an acceptable trade-off.
Author
Committer
Parents
Loading