oraluben commented on code in PR #187:
URL: https://github.com/apache/tvm-ffi/pull/187#discussion_r2453961628
##########
python/tvm_ffi/module.py:
##########
@@ -305,29 +307,36 @@ def system_lib(symbol_prefix: str = "") -> Module:
return _ffi_api.SystemLib(symbol_prefix)
-def load_module(path: str) -> Module:
+def load_module(path: str | PathLike) -> Module:
"""Load module from file.
-
+
Review Comment:
I suggest to add [`'W'`](https://docs.astral.sh/ruff/rules/#warning-w) rule
to ruff so we can check for these extra spaces cc @junrushao
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]