From b67409e3a8b10322fefbf03aa8fc973ff0048208 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 23 Dec 2022 23:31:16 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20screenshot=20size=20warning=20to=20onl?= =?UTF-8?q?y=20info=20=C3=A9=5F=C3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 07bb50e..b117fed 100755 --- a/package_linter.py +++ b/package_linter.py @@ -548,7 +548,7 @@ class App(TestSuite): du_output = subprocess.check_output(["du", "-sb", app.path + "/doc/screenshots"], shell=False) screenshots_size = int(du_output.split()[0]) if screenshots_size > 512000: - yield Warning("Consider keeping the content of doc/screenshots under ~512Kb for better UI/UX once the screenshots will be integrated in the webadmin app's catalog (to be discussed with the team)") + yield Info("Consider keeping the content of doc/screenshots under ~512Kb for better UI/UX once the screenshots will be integrated in the webadmin app's catalog (to be discussed with the team)") for path in os.listdir(app.path + "/doc/screenshots"): if path == ".gitkeep":