nchammas commented on code in PR #57523: URL: https://github.com/apache/spark/pull/57523#discussion_r3649389430
########## python/pyspark/errors_doc_gen.py: ########## @@ -41,12 +23,34 @@ def generate_errors_doc(output_rst_file_path: str) -> None: Error classes in PySpark ======================== -This is a list of common, named error classes returned by PySpark which are defined at `error-conditions.json <https://github.com/apache/spark/blob/master/python/pyspark/errors/error-conditions.json>`_. +This is a list of common, named error classes returned by PySpark which are defined at +`error-conditions.json <https://github.com/apache/spark/blob/master/python/pyspark/errors/error-conditions.json>`_. -When writing PySpark errors, developers must use an error class from the list. If an appropriate error class is not available, add a new one into the list. For more information, please refer to `Contributing Error and Exception <contributing.rst#contributing-error-and-exception>`_. Review Comment: I'm surprised our Python linter allowed long lines like this. -- 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]
