opentelemetry-python icon indicating copy to clipboard operation
opentelemetry-python copied to clipboard

Add `exporter/opentelemetry-exporter-otlp-proto-grpc` to the pyright include list. Fix all lint errors in that package.

Open DylanRussell opened this issue 6 months ago • 4 comments

Description

Add exporter/opentelemetry-exporter-otlp-proto-grpc to the pyright include list. Fix all lint errors in that package.

Type of change

Please delete options that are not relevant.

  • [x ] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Unit tests all pass

Does This PR Require a Contrib Repo Change?

  • [ ] Yes. - Link to PR:
  • [ x] No.

Checklist:

  • [x ] Followed the style guidelines of this project
  • [x ] Changelogs have been updated
  • [ x] Unit tests have been added
  • [x ] Documentation has been updated

DylanRussell avatar May 05 '25 17:05 DylanRussell

Not sure why that docs check is failing..

DylanRussell avatar May 05 '25 18:05 DylanRussell

Not sure why that docs check is failing..

You are exporting more stuff and so something must be added to the sphinx ignore list

xrmx avatar May 06 '25 16:05 xrmx

Aha didn't know about the sphinx ignore list thanks.

What do you think of adding ExportStubT as a public symbol ? I can underscore it, but it'd be inconsistent with the existing variable names

DylanRussell avatar May 06 '25 17:05 DylanRussell

BTW I bumped pyright up to ==1.1.400 here to get rid of the warning message asking us to upgrade it... Didn't cause any issues AFAICT...

DylanRussell avatar May 14 '25 20:05 DylanRussell

Alright I think it's good to go now.. The changing public symbols are all in the exporter mixin class, which I think it's doubtful people are using directly..

DylanRussell avatar Sep 12 '25 17:09 DylanRussell