From 84b674b427f1a0f589a1334c5acd46670d626243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sun, 19 Nov 2023 15:58:48 +0100 Subject: [PATCH] Set None as default value for optional settings --- src/runboat/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runboat/settings.py b/src/runboat/settings.py index cae2392..a561838 100644 --- a/src/runboat/settings.py +++ b/src/runboat/settings.py @@ -72,11 +72,11 @@ class Settings(BaseSettings): ] = None # The token to use for the GitHub api calls (to query branches and pull requests, # and report build statuses). - github_token: str | None + github_token: str | None = None # The secret used to verify GitHub webhook signatures - github_webhook_secret: bytes | None + github_webhook_secret: bytes | None = None # The file with the python logging configuration to use for the runboat controller. - log_config: str | None + log_config: str | None = None # The base url where the runboat UI and API is exposed on internet. # Used to generate backlinks in GitHub statuses base_url: str = "http://localhost:8000"