Skip to content

Commit

Permalink
Use Python 3.9 for jsonschema-gentypes to ensure backwards (and CI) c…
Browse files Browse the repository at this point in the history
…ompatibility
  • Loading branch information
dragon-dxw committed Sep 27, 2024
1 parent e60ee73 commit 3768368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/ds_caselaw_utils/courts_schema_types_autogenerated.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down

0 comments on commit 3768368

Please sign in to comment.