Skip to content

opentelemetry-instrumentation-threading version 0.51b0 prevents mypy from running on projects. #3242

@tjordahl

Description

@tjordahl

Describe your environment

OS: MacOS
Python version: Python 3.10.15
Package version: 0.51b0

What happened?

Running mypy on my project result in the following error:
venv/lib/python3.10/site-packages/opentelemetry/instrumentation/threading/__init__.py:132: error: Ellipses cannot accompany other argument types in function type signature [syntax]
Found 1 error in 1 file (errors prevented further checking)

Steps to Reproduce

Run mypy on the file init.py in instrumentation/opentelemetry-instrumentation-threading/src/opentelemetry/instrumentation/threading/__init__.py.

Expected Result

Expect mypy to run successfully.

Actual Result

venv/lib/python3.10/site-packages/opentelemetry/instrumentation/threading/__init__.py:132: error: Ellipses cannot accompany other argument types in function type signature [syntax]
Found 1 error in 1 file (errors prevented further checking)

Additional context

No response

Would you like to implement a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions