Skip to content

Commit 2d92cb3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5f4c7c5 commit 2d92cb3

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/check_jsonschema/formats/__init__.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
import jsonschema.validators
1010
import regress
1111

12-
from .implementations import validate_rfc3339, validate_rfc5321, validate_rfc6531, validate_time
12+
from .implementations import (
13+
validate_rfc3339,
14+
validate_rfc5321,
15+
validate_rfc6531,
16+
validate_time,
17+
)
1318

1419
# all known format strings except for a selection from draft3 which have either
1520
# been renamed or removed:

src/check_jsonschema/formats/implementations/rfc5321.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ def validate(email_str: object) -> bool:
3131
import timeit
3232

3333
N = 100_000
34-
tests = (
35-
("basic", "[email protected]"),
36-
)
34+
tests = (("basic", "[email protected]"),)
3735

3836
print("benchmarking")
3937
for name, val in tests:

src/check_jsonschema/formats/implementations/rfc6531.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ def validate(email_str: object) -> bool:
5555
import timeit
5656

5757
N = 100_000
58-
tests = (
59-
("basic", "[email protected]"),
60-
)
58+
tests = (("basic", "[email protected]"),)
6159

6260
print("benchmarking")
6361
for name, val in tests:

0 commit comments

Comments
 (0)