turbaszek commented on a change in pull request #13392:
URL: https://github.com/apache/airflow/pull/13392#discussion_r551721720
##########
File path: airflow/upgrade/checker.py
##########
@@ -41,6 +41,15 @@ def check_upgrade(formatter, rules):
return all_rule_statuses
+def list_checks():
+ print()
+ print("Upgrade Checks:")
+ for rule in ALL_RULES:
+ rule_name = rule.__class__.__name__
+ print("- {} [{}]".format(rule.title, rule_name))
Review comment:
```suggestion
print("- {} - {}".format(rule_name , rule.title))
```
Now when we have ordering, should we consider changing order of those two so
the list really look like sorted?
----------------------------------------------------------------
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]