Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 27, 2023
1 parent b146429 commit a77dffe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/uhi/schema.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import fastjsonschema
from __future__ import annotations

import json
import sys

import fastjsonschema

if sys.version_info < (3, 9):
import importlib_resources as resources
Expand All @@ -16,13 +17,11 @@


def validate(path: str) -> None:

with open(path, encoding="utf-8") as f:
example = json.load(f)

histogram_schema(example)


if __name__ == "__main__":

validate(*sys.argv[1:])

0 comments on commit a77dffe

Please sign in to comment.