Skip to content

Commit

Permalink
Merge pull request #165 from YunoHost/actions/black
Browse files Browse the repository at this point in the history
Format Python code with Black
  • Loading branch information
alexAubin authored Nov 2, 2024
2 parents c234aa1 + f7c74b1 commit 0bd1cdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 0bd1cdb

Please sign in to comment.