Skip to content

Commit 60433b1

Browse files
author
Steve Ayers
committed
Merge branch 'main' into sayers/validation_upgrades
2 parents ca61761 + 8979f49 commit 60433b1

File tree

8 files changed

+325
-44
lines changed

8 files changed

+325
-44
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ clean: ## Delete intermediate build artifacts
3333
.PHONY: generate
3434
generate: $(BIN)/buf $(BIN)/license-header ## Regenerate code and license headers
3535
rm -rf gen
36-
buf generate buf.build/bufbuild/protovalidate:$(PROTOVALIDATE_VERSION)
37-
buf generate buf.build/bufbuild/protovalidate-testing:$(PROTOVALIDATE_VERSION)
36+
$(BIN)/buf generate buf.build/bufbuild/protovalidate:$(PROTOVALIDATE_VERSION)
37+
$(BIN)/buf generate buf.build/bufbuild/protovalidate-testing:$(PROTOVALIDATE_VERSION)
38+
$(BIN)/buf generate
3839
$(ADD_LICENSE_HEADER)
3940

4041
.PHONY: format
@@ -44,7 +45,7 @@ format: install $(BIN)/license-header ## Format code
4445
pipenv run ruff check --fix protovalidate tests
4546

4647
.PHONY: test
47-
test: $(BIN)/protovalidate-conformance generate install ## Run unit tests
48+
test: generate install ## Run unit tests
4849
pipenv run pytest
4950

5051
.PHONY: conformance

Pipfile.lock

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buf.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Generated by buf. DO NOT EDIT.
2+
version: v2
3+
deps:
4+
- name: buf.build/bufbuild/protovalidate
5+
commit: 0409229c37804d6187ee0806eb4eebce
6+
digest: b5:795db9d3a6e066dc61d99ac651fa7f136171869abe2211ca272dd84aada7bc4583b9508249fa5b61300a5b1fe8b6dbf6edbc088aa0345d1ccb9fff705e3d48e9
7+
- name: buf.build/bufbuild/protovalidate-testing
8+
commit: 5acbe1f3c8f24ced9466b9ccccad4cb0
9+
digest: b5:5e9d54d19ce3d9d368f4b1b5ee4f20094d1c33d0f2dca19536339335c2e70d5ffedbd4fa28e290b59ecae0671c9d2dc20b6b8ebba5a9ac76cbf5f9d2af655ef4

buf.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: v2
2+
modules:
3+
- path: proto
4+
deps:
5+
- buf.build/bufbuild/protovalidate
6+
- buf.build/bufbuild/protovalidate-testing
7+
lint:
8+
use:
9+
- STANDARD
10+
ignore_only:
11+
PROTOVALIDATE:
12+
- proto/tests/example/v1/validations.proto
13+
breaking:
14+
use:
15+
- FILE

gen/tests/example/v1/validations_pb2.py

Lines changed: 97 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/tests/example/v1/validations_pb2.pyi

Lines changed: 94 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)