Skip to content

Commit

Permalink
Replace JSONSchemas with pydantic models
Browse files Browse the repository at this point in the history
TODO: Fix ingest!
  • Loading branch information
mfisher87 committed Jan 12, 2024
1 parent bb848a4 commit 4de2de5
Show file tree
Hide file tree
Showing 34 changed files with 2,105 additions and 348 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ docker-compose.override.yml

# Python stuff
__pycache__
*.egg-info
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ repos:
- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "0.27.3"
hooks:
- id: "check-jsonschema"
files: "static/variables.json"
args: ["--schemafile", "schema/variablesIndex.json"]
- id: "check-jsonschema"
files: "static/colormaps.json"
args: ["--schemafile", "schema/colormapsIndex.json"]
- id: "check-github-workflows"
# TODO: Re-enable. The checker and the docs say `build.tools` is
# required, but we're doing a fully custom build and don't actually
Expand Down
Loading

0 comments on commit 4de2de5

Please sign in to comment.