From 6338aca0061851dfb50d9676eb4cd57fbe8630bb Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 1 Oct 2021 04:08:15 +0200 Subject: [PATCH] Stupid typo leading to apps with exactly 3 warnings being able to reach level 7+ T_T --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 14751f9..1222c22 100755 --- a/package_linter.py +++ b/package_linter.py @@ -396,7 +396,7 @@ class App(TestSuite): _print(" There are some critical issues in this app :(") elif tests_reports["error"]: _print(" Uhoh there are some errors to be fixed :(") - elif len(tests_reports["warning"]) > 3: + elif len(tests_reports["warning"]) >= 3: _print(" Still some warnings to be fixed :s") elif len(tests_reports["warning"]) == 2: _print(" Only 2 warnings remaining! You can do it!")