Skip to content

Commit 8e89ef4

Browse files
committed
Run the spec scripts without typing_extensions
The CI step runs them with --no-project, where only the standard library is installed. Signed-off-by: Shrijayan <81805145+shrijayan@users.noreply.github.com>
1 parent b2655f3 commit 8e89ef4

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎scripts/opencode/config_models.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@
2222
import re
2323
import json
2424
import argparse
25-
from typing import Any, cast
25+
from typing import Any, TypeAlias, cast
2626
from pathlib import Path
27-
from typing_extensions import TypeAlias
2827

2928
Json: TypeAlias = dict[str, Any]
3029

‎scripts/opencode/contract_to_openapi.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
import sys
2424
import json
2525
import argparse
26-
from typing import Any, cast
26+
from typing import Any, TypeAlias, cast
2727
from pathlib import Path
28-
from typing_extensions import TypeAlias
2928

3029
Json: TypeAlias = dict[str, Any]
3130

0 commit comments

Comments
 (0)