amol- commented on PR #44447:
URL: https://github.com/apache/arrow/pull/44447#issuecomment-2418084462
I'm a bit confused by the linter complaining about unrelated code
```
+++ fixed//arrow/python/pyarrow/lib.pyx
@@ -87,9 +87,9 @@
def is_threading_enabled() -> bool:
"""
- Returns True if threading is enabled in libarrow.
-
- If it isn't enabled, then python shouldn't create any
+ Returns True if threading is enabled in libarrow.
+
+ If it isn't enabled, then python shouldn't create any
threads either, because we're probably on a system where
threading doesn't work (e.g. Emscripten).
"""
@@ -175,7 +175,7 @@
if __cuda_loaded is not True:
raise ImportError(
"Trying to import data on a CUDA device, but PyArrow is not
built with "
- f"CUDA support.\n(importing 'pyarrow.cuda' resulted in \"{
+ f"CUDA support.\n(importing 'pyarrow.cuda' resulted in "{
__cuda_loaded}\")."
)
```
--
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]