diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00dcc1a..ce0712e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,7 @@ repos: hooks: - id: jsonschema-gentypes files: src/ds_caselaw_utils/data/schema/courts.schema.json + language_version: python3.9 - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.8 diff --git a/src/ds_caselaw_utils/courts_schema_types_autogenerated.py b/src/ds_caselaw_utils/courts_schema_types_autogenerated.py index 1273eff..762b91f 100644 --- a/src/ds_caselaw_utils/courts_schema_types_autogenerated.py +++ b/src/ds_caselaw_utils/courts_schema_types_autogenerated.py @@ -1,7 +1,8 @@ # Automatically generated file from a JSON schema -from typing import List, Required, TypedDict, Union +from typing import List, TypedDict, Union +from typing_extensions import Required class RawCourt(TypedDict, total=False):