03-Implemented changes for custom python test #633
7 errors
Mypy found 7 errors
Annotations
Check failure on line 70 in app/tests/sdk_container_mock.py
github-actions / Mypy
app/tests/sdk_container_mock.py#L70
"__new__" must return a class instance (got "None") [misc]
Check failure on line 70 in app/tests/sdk_container_mock.py
github-actions / Mypy
app/tests/sdk_container_mock.py#L70
Function is missing a type annotation for one or more arguments [no-untyped-def]
Check failure on line 71 in app/tests/sdk_container_mock.py
github-actions / Mypy
app/tests/sdk_container_mock.py#L71
No return value expected [return-value]
Check failure on line 132 in app/tests/conftest.py
github-actions / Mypy
app/tests/conftest.py#L132
Argument 1 to "contextmanager" has incompatible type "Callable[[], SDKContainer]"; expected "Callable[[], Iterator[<nothing>]]" [arg-type]
Check failure on line 133 in app/tests/conftest.py
github-actions / Mypy
app/tests/conftest.py#L133
The return type of a generator function should be "Generator" or one of its supertypes [misc]
Check failure on line 155 in app/tests/conftest.py
github-actions / Mypy
app/tests/conftest.py#L155
The return type of a generator function should be "Generator" or one of its supertypes [misc]
Check failure on line 157 in app/tests/conftest.py
github-actions / Mypy
app/tests/conftest.py#L157
Need type annotation for "real_module" [var-annotated]