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 18, 2023
1 parent 33e2718 commit cd9d91c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jupyter_events/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(
registry = Registry().with_resource(_schema["$id"], DRAFT7.create_resource(_schema))

# Create a validator for this schema
self._validator = validator_class(_schema, registry=registry, format_checker=format_checker) # type: ignore
self._validator = validator_class(_schema, registry=registry, format_checker=format_checker) # type: ignore
self._schema = _schema

def __repr__(self):
Expand Down
4 changes: 2 additions & 2 deletions jupyter_events/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
]
)

JUPYTER_EVENTS_SCHEMA_VALIDATOR = Draft7Validator( # type: ignore
JUPYTER_EVENTS_SCHEMA_VALIDATOR = Draft7Validator( # type: ignore
schema=EVENT_METASCHEMA,
registry=METASCHEMA_REGISTRY,
format_checker=draft7_format_checker,
)

JUPYTER_EVENTS_CORE_VALIDATOR = Draft7Validator( # type: ignore
JUPYTER_EVENTS_CORE_VALIDATOR = Draft7Validator( # type: ignore
schema=EVENT_CORE_SCHEMA,
registry=METASCHEMA_REGISTRY,
format_checker=draft7_format_checker,
Expand Down

0 comments on commit cd9d91c

Please sign in to comment.