turbaszek commented on pull request #9467:
URL: https://github.com/apache/airflow/pull/9467#issuecomment-687099853


   Still, some unit tests should be added but otherwise, I think it's good to 
get a review to validate the approach. 
   
   Basically to implement a new rule we had to create a class that inherits 
from `airflow.upgrade.rules.base_rule.BaseRule`. It will be auto-registered and 
used by `airflow upgrade-check` command. The `CustomRuleClass` has to have 
`title`, `description` properties and should implement `check` method which 
returns a list of error messages in case of incompatibility. 


----------------------------------------------------------------
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]


Reply via email to