-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
See PR #2041 which shows the mypy session is failing at HEAD.
nox > mypy -p google
mypy.ini: [mypy]: python_version: Python 3.7 is not supported (must be 3.8 or higher)
google/showcase_v1beta1/services/messaging/transports/rest.py:669: error: Argument "credentials" to "OperationsRestTransport" has incompatible type "Credentials | None"; expected "Credentials" [arg-type]
google/showcase_v1beta1/services/messaging/transports/grpc.py:132: error: Incompatible types in assignment (expression has type "bool", variable has type "Credentials | None") [assignment]
google/showcase_v1beta1/services/identity/transports/grpc.py:127: error: Incompatible types in assignment (expression has type "bool", variable has type "Credentials | None") [assignment]
google/showcase_v1beta1/services/echo/transports/rest.py:600: error: Argument "credentials" to "OperationsRestTransport" has incompatible type "Credentials | None"; expected "Credentials" [arg-type]
google/showcase_v1beta1/services/echo/transports/grpc.py:135: error: Incompatible types in assignment (expression has type "bool", variable has type "Credentials | None") [assignment]
google/showcase_v1beta1/services/messaging/transports/grpc_asyncio.py:178: error: Incompatible types in assignment (expression has type "bool", variable has type "Credentials | None") [assignment]
google/showcase_v1beta1/services/identity/transports/grpc_asyncio.py:173: error: Incompatible types in assignment (expression has type "bool", variable has type "Credentials | None") [assignment]
google/showcase_v1beta1/services/echo/transports/grpc_asyncio.py:181: error: Incompatible types in assignment (expression has type "bool", variable has type "Credentials | None") [assignment]
Found 8 errors in 8 files (checked [37](https://github.com/googleapis/gapic-generator-python/actions/runs/9556630075/job/26342298767?pr=2041#step:7:38) source files)
nox > Command mypy -p google failed with exit code 1
nox > Session showcase_mypy failed.
https://github.com/googleapis/gapic-generator-python/actions/runs/9556630075/job/26342298767?pr=2041
Metadata
Metadata
Assignees
Labels
No labels