westonpace commented on a change in pull request #10693:
URL: https://github.com/apache/arrow/pull/10693#discussion_r669276514
##########
File path: python/pyarrow/_hdfs.pyx
##########
@@ -93,9 +93,10 @@ cdef class HadoopFileSystem(FileSystem):
Instantiate HadoopFileSystem object from an URI string.
The following two calls are equivalent
- * HadoopFileSystem.from_uri('hdfs://localhost:8020/?user=test'
- '&replication=1')
- * HadoopFileSystem('localhost', port=8020, user='test', replication=1)
+
+ *
``HadoopFileSystem.from_uri('hdfs://localhost:8020/?user=test&replication=1')``
# noqa: E501
+
+ * ``HadoopFileSystem('localhost', port=8020, user='test',
replication=1)`` # noqa: E501
Review comment:
Anyone have any opinion on ignoring flake here? RST didn't like the
multi line strings. I tried using literal blocks `::` but then flake
complained about the empty lines required by RST. This seems like the most
readable but the lines are too long (hence the `# noqa`)
--
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]