Skip to content

Maintenance: Resolve Ty diagnostics for modules with few issues #7929

@ConnorKirk

Description

@ConnorKirk

Why is this needed?

This is a sub-issue of #7902.

Several modules have only 1-2 ty diagnostics and can be resolved quickly. Fixing these enables us to remove them from the ty exclusion list and expand type checking coverage.

Which area does this relate to?

  • Static typing
  • Logger
  • Metrics
  • Middleware factory
  • Validation

Solution

Resolve ty diagnostics in the following modules:

Module Diagnostics
logging/ 1
utilities/validation/ 1
shared/ 2
metrics/ 2
middleware_factory/ 2
utilities/streaming/ 2

Total: 10 diagnostics

Once resolved, remove these modules from the ty exclusion list in pyproject.toml.

Acknowledgment

Metadata

Metadata

Assignees

Labels

internalMaintenance changestypingStatic typing definition related issues (mypy, pyright, etc.)

Projects

Status

Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions