Skip to content

Commit cd56a52

Browse files
Run ruff on unit tests
1 parent 90bd390 commit cd56a52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_format.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
from celpy import celtypes
2222
from google.protobuf import text_format
2323

24-
from test.gen.cel.expr import eval_pb2
25-
from test.gen.cel.expr.conformance.test import simple_pb2
2624
from protovalidate.internal import extra_func
2725
from protovalidate.internal.cel_field_presence import InterpretedRunner
26+
from test.gen.cel.expr import eval_pb2
27+
from test.gen.cel.expr.conformance.test import simple_pb2
2828

2929
skipped_tests = [
3030
# cel-python seems to have a bug with ints and booleans in the same map which evaluate to the same value

test/test_validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
from google.protobuf import message
1717

1818
import protovalidate
19-
from test.gen.tests.example.v1 import validations_pb2
2019
from protovalidate.internal import rules
20+
from test.gen.tests.example.v1 import validations_pb2
2121

2222
validators: list[protovalidate.Validator] = [
2323
protovalidate, # global module singleton

0 commit comments

Comments
 (0)