You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% mypy --namespace-packages opentelemetry-api/src/opentelemetry/util/loader.py
opentelemetry-api/src/opentelemetry/util/loader.py:181: error: Incompatible types in assignment (expression has type "Callable[[Type[_T]], Optional[object]]", variable has type "Optional[Callable[[Type[object]], Optional[object]]]")
Found 1 error in 1 file (checked 1 source file)
I pinned the mypy version in 792449e as a temporary fix, but we need to update the annotations to work with latest.
The text was updated successfully, but these errors were encountered:
Mypy is still pinned, but I guess this was closed by #466 which removed loader.py. I can create a new issue for the untyped file added it in that PR and see if mypy can be upgraded:
@aabmass
Sounds like a good idea. Create a new issue, link this old one, and see if the mypy issue still persists. I can assign it to you one you create it.
We started seeing mypy test failures in
loader.py
after the upgrade to0.750
in #258.I pinned the
mypy
version in 792449e as a temporary fix, but we need to update the annotations to work with latest.The text was updated successfully, but these errors were encountered: