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 Nov 25, 2024
1 parent 467b788 commit e3a3ab6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jsonschema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ def __getattr__(name):


__all__ = [
"Draft201909Validator",
"Draft202012Validator",
"Draft3Validator",
"Draft4Validator",
"Draft6Validator",
"Draft7Validator",
"Draft201909Validator",
"Draft202012Validator",
"FormatChecker",
"SchemaError",
"TypeChecker",
Expand Down
2 changes: 1 addition & 1 deletion jsonschema/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def remove(self, *types) -> TypeChecker:
"integer",
lambda checker, instance: (
is_integer(checker, instance)
or isinstance(instance, float) and instance.is_integer()
or (isinstance(instance, float) and instance.is_integer())
),
)
draft7_type_checker = draft6_type_checker
Expand Down

0 comments on commit e3a3ab6

Please sign in to comment.