[red-knot] reveal-type should return the revaled type (#17007)

## Summary

Return the revealed-type from the monkey-patched `revale_type`
implementation to
preserve the identity behavior.

This PR also isolates different script runs by assigning a different
`globals` dict for each script-run. See
https://github.com/pyodide/pyodide/issues/703
This commit is contained in:
Micha Reiser
2025-03-27 04:04:57 +01:00
committed by GitHub
parent 43ca85a351
commit 640d821108
2 changed files with 28 additions and 6 deletions

View File

@@ -8,10 +8,10 @@ on:
branches: [main]
paths:
- "crates/red_knot*/**"
- "crates/ruff_db"
- "crates/ruff_python_ast"
- "crates/ruff_python_parser"
- "playground"
- "crates/ruff_db/**"
- "crates/ruff_python_ast/**"
- "crates/ruff_python_parser/**"
- "playground/**"
- ".github/workflows/publish-knot-playground.yml"
concurrency: