Skip to content

Commit cc794f3

Browse files
Run ruff on unit tests
1 parent b9f5c78 commit cc794f3

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ ENV/
129129
env.bak/
130130
venv.bak/
131131

132+
# OS files
133+
.DS_Store
134+
132135
# Spyder project settings
133136
.spyderproject
134137
.spyproject

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
# Version of the cel-spec that this implementation is conformant with.
3030
# This should be kept in sync with the version in ../Makefile.

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)