diff --git a/package_linter.py b/package_linter.py index b8ce2e6..1270a9d 100755 --- a/package_linter.py +++ b/package_linter.py @@ -344,6 +344,7 @@ class App(TestSuite): # previously computed errors/warning/successes self.run_single_test(App.qualify_for_level_7) self.run_single_test(App.qualify_for_level_8) + self.run_single_test(App.qualify_for_level_9) if output == "json": print(json.dumps({ @@ -383,6 +384,11 @@ class App(TestSuite): elif "qualify_for_level_7" in successes and "is_long_term_good_quality" in successes: yield Success("The app is maintained and long-term good quality, and therefore qualifies for level 8!") + def qualify_for_level_9(self): + + if self.app_catalog.catalog_infos.get("high_quality", False): + yield Success("The app is flagged as high-quality in the app catalog") + ######################################### # _____ _ # # | __ \ | | #