From f7c74b17c81c5e79c004c12307795364cf98dfa8 Mon Sep 17 00:00:00 2001 From: alexAubin <4533074+alexAubin@users.noreply.github.com> Date: Sat, 2 Nov 2024 15:10:54 +0000 Subject: [PATCH] :art: Format Python code with Black --- tests/test_app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_app.py b/tests/test_app.py index d729652..e2f6cc5 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -519,7 +519,9 @@ def config_panel(app): "Please do not commit config_panel.toml.example ... This is just a 'documentation' for the config panel syntax meant to be kept in example_ynh" ) - if not file_exists(app.path + "/config_panel.toml") and file_exists(app.path + "/scripts/config"): + if not file_exists(app.path + "/config_panel.toml") and file_exists( + app.path + "/scripts/config" + ): yield Warning( "The script 'config' exists but there is no config_panel.toml ... Please remove the 'config' script if this is just the example from example_ynh, or add a proper config_panel.toml if the point is really to have a config panel" )