oss_31_expand_pyright_typing_scope - #5
Conversation
Annotate OpenTelemetryDistro._configure and add the package to the pyright include list and the typecheck tox environment. The package passes strict pyright cleanly. Assisted-by: Claude Opus 4.8
|
🔒 Internal (dash0) — not for upstream.
|
|
📣 Public-facing draft — to be used for the upstream PR in Title: Add WhatExtends the pyright strict Scope
Whypyright runs in strict mode but only covers a minority of packages; unlisted packages are effectively unchecked. This raises the typed floor by one more package while keeping CI green. VerificationRan the repo's Remaining workMost packages still aren't type-checked and need more annotation work before they can be added cleanly (a few are close: |
Closes #4
Incrementally widen contrib pyright strict scope (Linear OSS-31, Q2): add opentelemetry-distro to the pyright include (needed only a trivial
_configure(self, **kwargs: object) -> Noneannotation), plus the tox typecheck dep so pyright resolves it. pyright stays green (0 errors). Q5 (coverage-in-CI) deferred with justification (auto-generated workflows + maintainer Codecov token); no plumbing removed. Remaining packages listed for follow-up.Validation: scope contained to pyproject + tox.ini + distro src + changelog; pyright 0 errors / 0 warnings on the expanded set.
Linear issue: https://linear.app/dash0/issue/OSS-31/q2-q5-typing-program-widen-pyright-scoperigor-wire-coverage-into-ci