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 2022/01/11 12:47:04 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #20731: Avoid printing a stacktrace for 'AirflowException'-derived errors

uranusjr commented on a change in pull request #20731:
URL: https://github.com/apache/airflow/pull/20731#discussion_r782111930



##########
File path: airflow/exceptions.py
##########
@@ -30,8 +30,8 @@
 
 class AirflowException(Exception):
     """
-    Base class for all Airflow's errors.
-    Each custom exception should be derived from this class
+    Base class for all Airflow's errors
+    Each custom exception should be derived from this class.
     """

Review comment:
       PEP 257 recommends something like this:
   
   
   ```python
   """Base class for all Airflow's errors.
   
   Each custom exception should be derived from this class.
   """
   ```




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org