mirror of https://github.com/astral-sh/ruff
[red-knot] Default playground to Python 3.13 for real (#16956)
## Summary Default to 3.13 for good. I incorrectly used `workspace.updateOptions` instead of `updateOptions` where the latter has a fallback. ## Test Plan ```py import os import sys reveal_type(sys.version_info.minor) ``` reveals 13 on initial page load
This commit is contained in:
parent
66d0cf2a72
commit
cba197e3c5
|
|
@ -99,7 +99,7 @@ export default function Chrome() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasSettings) {
|
if (!hasSettings) {
|
||||||
workspace.updateOptions(null);
|
updateOptions(workspace, null, setUpdateError);
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatchFiles({
|
dispatchFiles({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue