Skip to content

Commit e3a3ab6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 467b788 commit e3a3ab6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jsonschema/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ def __getattr__(name):
106106

107107

108108
__all__ = [
109-
"Draft201909Validator",
110-
"Draft202012Validator",
111109
"Draft3Validator",
112110
"Draft4Validator",
113111
"Draft6Validator",
114112
"Draft7Validator",
113+
"Draft201909Validator",
114+
"Draft202012Validator",
115115
"FormatChecker",
116116
"SchemaError",
117117
"TypeChecker",

jsonschema/_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def remove(self, *types) -> TypeChecker:
196196
"integer",
197197
lambda checker, instance: (
198198
is_integer(checker, instance)
199-
or isinstance(instance, float) and instance.is_integer()
199+
or (isinstance(instance, float) and instance.is_integer())
200200
),
201201
)
202202
draft7_type_checker = draft6_type_checker

0 commit comments

Comments
 (0)