Skip to content

Commit 3697fc8

Browse files
committed
fix: spelling and assert for skip
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 420b6c8 commit 3697fc8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

misc/make_schema.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
import dataclasses
44
import json
55
import re
6+
import sys
67
import textwrap
78
from collections.abc import Generator, Sequence
89
from pathlib import Path
910
from typing import Any
1011

1112
DIR = Path(__file__).parent.resolve()
1213

14+
assert sys.version_info > (3, 9)
15+
1316

1417
@dataclasses.dataclass(frozen=True)
1518
class ConfigOpt:
@@ -30,7 +33,7 @@ def define(self) -> dict[str, str]:
3033
case "string":
3134
retval["default"] = self.default.strip("`")
3235
case _:
33-
msg = f"Default not suppored for {self.type_str}"
36+
msg = f"Default not supported for {self.type_str}"
3437
raise RuntimeError(msg)
3538
match self.type_str:
3639
case "boolean" | "integer" | "string":

0 commit comments

Comments
 (0)