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
  • Loading branch information
pre-commit-ci[bot] committed May 29, 2022
1 parent a7da4d9 commit ff6f1b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stubs/jsonschema/jsonschema/exceptions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ STRONG_MATCHES: frozenset[str]

class _Error(Exception):
message: str
path: deque[str|int]
relative_path: deque[str|int]
path: deque[str | int]
relative_path: deque[str | int]
schema_path: deque[str]
relative_schema_path: deque[str]
context: list[ValidationError] | None
Expand All @@ -27,7 +27,7 @@ class _Error(Exception):
self,
message: str,
validator: _utils.Unset | None | protocols.Validator = ...,
path: Sequence[str|int] = ...,
path: Sequence[str | int] = ...,
cause: Any | None = ...,
context: Sequence[ValidationError] = ...,
validator_value=...,
Expand All @@ -39,7 +39,7 @@ class _Error(Exception):
@classmethod
def create_from(cls: type[Self], other: _Error) -> Self: ...
@property
def absolute_path(self) -> Sequence[Union[str|int]]: ...
def absolute_path(self) -> Sequence[Union[str | int]]: ...
@property
def absolute_schema_path(self) -> Sequence[str]: ...
@property
Expand Down

0 comments on commit ff6f1b4

Please sign in to comment.