spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "holdenk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-12986) Fix pydoc warnings in mllib/regression.py
Date Mon, 25 Jan 2016 21:26:39 GMT

    [ https://issues.apache.org/jira/browse/SPARK-12986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116085#comment-15116085
] 

holdenk commented on SPARK-12986:
---------------------------------

Do you think we should maybe add make html to the lint python script and fail if there are
warnings caused?

> Fix pydoc warnings in mllib/regression.py
> -----------------------------------------
>
>                 Key: SPARK-12986
>                 URL: https://issues.apache.org/jira/browse/SPARK-12986
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib, PySpark
>    Affects Versions: 2.0.0
>            Reporter: Xiangrui Meng
>            Assignee: Yu Ishikawa
>            Priority: Minor
>
> Got those warnings by running "make html" under "python/docs/":
> {code}
> /Users/meng/src/spark/python/pyspark/mllib/regression.py:docstring of pyspark.mllib.regression.LinearRegressionWithSGD:3:
ERROR: Unexpected indentation.
> /Users/meng/src/spark/python/pyspark/mllib/regression.py:docstring of pyspark.mllib.regression.LinearRegressionWithSGD:4:
WARNING: Block quote ends without a blank line; unexpected unindent.
> /Users/meng/src/spark/python/pyspark/mllib/regression.py:docstring of pyspark.mllib.regression.RidgeRegressionWithSGD:3:
ERROR: Unexpected indentation.
> /Users/meng/src/spark/python/pyspark/mllib/regression.py:docstring of pyspark.mllib.regression.RidgeRegressionWithSGD:4:
WARNING: Block quote ends without a blank line; unexpected unindent.
> /Users/meng/src/spark/python/pyspark/mllib/regression.py:docstring of pyspark.mllib.regression.LassoWithSGD:3:
ERROR: Unexpected indentation.
> /Users/meng/src/spark/python/pyspark/mllib/regression.py:docstring of pyspark.mllib.regression.LassoWithSGD:4:
WARNING: Block quote ends without a blank line; unexpected unindent.
> /Users/meng/src/spark/python/pyspark/mllib/regression.py:docstring of pyspark.mllib.regression.IsotonicRegression:7:
ERROR: Unexpected indentation.
> /Users/meng/src/spark/python/pyspark/mllib/regression.py:docstring of pyspark.mllib.regression.IsotonicRegression:12:
ERROR: Unexpected indentation.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message