Skip to content

Commit

Permalink
Script to regenerate proto code + pyi stubs (open-telemetry#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass authored Jun 22, 2020
1 parent 1238fc8 commit 9e20f74
Show file tree
Hide file tree
Showing 18 changed files with 1,417 additions and 235 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ exclude =
ext/opentelemetry-ext-jaeger/build/*
docs/examples/opentelemetry-example-app/src/opentelemetry_example_app/grpc/gen/
docs/examples/opentelemetry-example-app/build/*
opentelemetry-proto/build/*
opentelemetry-proto/src/opentelemetry/proto/
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# tells github that proto code is generated
opentelemetry-proto/src/**/*_pb2*.py* linguist-generated=true
3 changes: 3 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ sphinx-autodoc-typehints~=1.10.2
pytest!=5.2.3
pytest-cov>=2.8
readme-renderer~=24.0
grpcio-tools==1.29.0
mypy-protobuf==1.21
protobuf==3.12.2
3 changes: 3 additions & 0 deletions opentelemetry-proto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

- Regenerate proto code and add pyi stubs
([#823](https://github.com/open-telemetry/opentelemetry-python/pull/823))

## 0.9b0

Released 2020-06-10
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-proto/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
graft gen
graft src
graft tests
global-exclude *.pyc
global-exclude *.pyo
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 14 additions & 23 deletions opentelemetry-proto/src/opentelemetry/proto/common/v1/common_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9e20f74

Please sign in to comment.