You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/09/25 10:36:06 UTC

[GitHub] [airflow] kaxil commented on issue #4460: [AIRFLOW-3604] Add Azure Hdinsight operators for creating cluster and submitting

kaxil commented on issue #4460: [AIRFLOW-3604] Add Azure Hdinsight operators for creating cluster and submitting
URL: https://github.com/apache/airflow/pull/4460#issuecomment-534961403
 
 
   @alikemalocalan  Can you fix pylint errors please:
   
   ```
   ************* Module airflow.contrib.hooks.azure_hdinsight_hook
   airflow/contrib/hooks/azure_hdinsight_hook.py:1:0: C0111: Missing module docstring (missing-docstring)
   airflow/contrib/hooks/azure_hdinsight_hook.py:32:0: C0111: Missing class docstring (missing-docstring)
   ************* Module airflow.contrib.hooks.hortonworks_ambari_hook
   airflow/contrib/hooks/hortonworks_ambari_hook.py:1:0: C0111: Missing module docstring (missing-docstring)
   airflow/contrib/hooks/hortonworks_ambari_hook.py:27:0: C0111: Missing class docstring (missing-docstring)
   airflow/contrib/hooks/hortonworks_ambari_hook.py:87:19: W0703: Catching too general exception Exception (broad-except)
   airflow/contrib/hooks/hortonworks_ambari_hook.py:132:19: W0703: Catching too general exception Exception (broad-except)
   ************* Module airflow.contrib.example_dags.example_azure_hdinsight_operators
   airflow/contrib/example_dags/example_azure_hdinsight_operators.py:1:0: C0111: Missing module docstring (missing-docstring)
   airflow/contrib/example_dags/example_azure_hdinsight_operators.py:78:-1: W0105: String statement has no effect (pointless-string-statement)
   ************* Module airflow.contrib.operators.azure_hdinsight_delete_cluster_operator
   airflow/contrib/operators/azure_hdinsight_delete_cluster_operator.py:1:0: C0111: Missing module docstring (missing-docstring)
   ************* Module airflow.contrib.operators.azure_livysparksubmit_operator
   airflow/contrib/operators/azure_livysparksubmit_operator.py:1:0: C0111: Missing module docstring (missing-docstring)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:102:8: C0103: Attribute name "pyFiles" doesn't conform to snake_case naming style (invalid-name)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:107:8: C0103: Attribute name "numExecutors" doesn't conform to snake_case naming style (invalid-name)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:108:8: C0103: Attribute name "driverCores" doesn't conform to snake_case naming style (invalid-name)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:109:8: C0103: Attribute name "executorCores" doesn't conform to snake_case naming style (invalid-name)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:110:8: C0103: Attribute name "driverMemory" doesn't conform to snake_case naming style (invalid-name)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:114:8: C0103: Attribute name "executorMemory" doesn't conform to snake_case naming style (invalid-name)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:25:0: R0902: Too many instance attributes (18/15) (too-many-instance-attributes)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:63:4: R0913: Too many arguments (19/10) (too-many-arguments)
   airflow/contrib/operators/azure_livysparksubmit_operator.py:136:15: C1801: Do not use `len(SEQUENCE)` to determine if a sequence is empty (len-as-condition)
   ************* Module airflow.contrib.operators.azure_hdinsight_create_cluster_operator
   airflow/contrib/operators/azure_hdinsight_create_cluster_operator.py:1:0: C0111: Missing module docstring (missing-docstring)
   ************* Module airflow.contrib.operators.azure_webhcathivesubmit_operator
   airflow/contrib/operators/azure_webhcathivesubmit_operator.py:1:0: C0111: Missing module docstring (missing-docstring)
   airflow/contrib/operators/azure_webhcathivesubmit_operator.py:130:0: C0111: Missing function docstring (missing-docstring)
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services