junrushao commented on PR #12815:
URL: https://github.com/apache/tvm/pull/12815#issuecomment-1249759283
to fix mypy complaints, you may use:
```python
def __enter__(self) -> "IRBuilderFrame":
- _ffi_api.IRBuilderFrameEnter(self) # pylint: disable=no-member #
type: ignore
+ _ffi_api.IRBuilderFrameEnter(self) # type: ignore # pylint:
disable=no-member
return self
def __exit__(self, ptype, value, trace) -> None: # pylint:
disable=unused-argument
- _ffi_api.IRBuilderFrameExit(self) # pylint: disable=no-member #
type: ignore
+ _ffi_api.IRBuilderFrameExit(self) # type: ignore # pylint:
disable=no-member
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]