turbaszek commented on a change in pull request #7802: Make airflow/providers 
pylint compatible
URL: https://github.com/apache/airflow/pull/7802#discussion_r396081799
 
 

 ##########
 File path: airflow/providers/apache/hive/hooks/hive.py
 ##########
 @@ -538,7 +542,7 @@ def sasl_factory():
 
         return hmsclient.HMSClient(iprot=protocol)
 
-    def _find_valid_server(self):
+    def _find_valid_server(self):  # pylint: 
disable=inconsistent-return-statements
 
 Review comment:
   I would prefer to fix it instead of disabling it. `return None` at the end 
should be enough :) 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to