From dbf3aa94a1516c4163967e6a9b3b46b56608f91a Mon Sep 17 00:00:00 2001 From: alexAubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:13:39 +0000 Subject: [PATCH] :art: Format Python code with Black --- package_linter.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package_linter.py b/package_linter.py index 4c5dbda..a267acd 100755 --- a/package_linter.py +++ b/package_linter.py @@ -2239,11 +2239,17 @@ class Manifest(TestSuite): if "apt" in list(resources.keys()): packages = str(list(resources["apt"].get("packages"))) if "php7.4-" in packages: - yield Warning("The app currently runs on php7.4 which is pretty old (unsupported by the PHP group since January 2023). Ideally, upgrade it to at least php8.2.") + yield Warning( + "The app currently runs on php7.4 which is pretty old (unsupported by the PHP group since January 2023). Ideally, upgrade it to at least php8.2." + ) elif "php8.0-" in packages: - yield Warning("The app currently runs on php8.0 which is pretty old (unsupported by the PHP group since January 2024). Ideally, upgrade it to at least php8.2.") + yield Warning( + "The app currently runs on php8.0 which is pretty old (unsupported by the PHP group since January 2024). Ideally, upgrade it to at least php8.2." + ) elif "php8.1-" in packages: - yield Info("The app currently runs on php8.1 which is deprecated since January 2024. Ideally, upgrade it to at least php8.2.") + yield Info( + "The app currently runs on php8.1 which is deprecated since January 2024. Ideally, upgrade it to at least php8.2." + ) @test() def resource_consistency(self):