File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
providers/openfeature-provider-flagd
src/openfeature/contrib/provider/flagd/schemas Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,22 @@ cov = [
5555]
5656
5757[tool .hatch .build .hooks .protobuf ]
58- dependencies = [" hatch-protobuf" ]
59- paths = [" schemas/protobuf/schema/v1/schema.proto" , " schemas/protobuf/sync/v1/sync_service.proto" ]
60- output_path = " src"
58+ dependencies = [
59+ " hatch-protobuf" ,
60+ " mypy-protobuf~=3.0" ,
61+ ]
62+ generate_pyi = false # we'll let mypy-protobuf do this
63+
64+ [[tool .hatch .build .hooks .protobuf .generators ]]
65+ name = " mypy"
66+ outputs = [" {proto_path}/{proto_name}_pb2.pyi" ]
67+ output_path = " src/openfeature/contrib/provider/flagd/"
68+
69+
70+ [[tool .hatch .build .hooks .protobuf .generators ]]
71+ name = " mypy_grpc"
72+ outputs = [" {proto_path}/{proto_name}_pb2_grpc.pyi" ]
73+ output_path = " src/openfeature/contrib/provider/flagd/"
6174
6275[tool .hatch .build .targets .sdist ]
6376exclude = [
File renamed without changes.
You can’t perform that action at this time.
0 commit comments