From 4a534641b74cf82474e5fa07c7f00fb9d4d5a963 Mon Sep 17 00:00:00 2001 From: Thomas Ubensee <34603111+tomuben@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:44:51 +0200 Subject: [PATCH] Apply formatter --- .../lib/config/config_data_model.py | 7 +++++-- .../lib/release_uploader.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/exasol_script_languages_container_ci/lib/config/config_data_model.py b/exasol_script_languages_container_ci/lib/config/config_data_model.py index 7954696..27f33dd 100644 --- a/exasol_script_languages_container_ci/lib/config/config_data_model.py +++ b/exasol_script_languages_container_ci/lib/config/config_data_model.py @@ -5,14 +5,17 @@ from typing import List -from pydantic import BaseModel, Extra +from pydantic import ( + BaseModel, + Extra, +) class Ignore(BaseModel): class Config: extra = Extra.forbid - paths: List[str] + paths: list[str] class Build(BaseModel): diff --git a/exasol_script_languages_container_ci/lib/release_uploader.py b/exasol_script_languages_container_ci/lib/release_uploader.py index bddaa30..ca136c7 100644 --- a/exasol_script_languages_container_ci/lib/release_uploader.py +++ b/exasol_script_languages_container_ci/lib/release_uploader.py @@ -17,7 +17,7 @@ def _parse_repo_url(source_repo_url: str) -> str: if res is None: raise ValueError( f"Parameter source_repo_url={source_repo_url} does not match the following regex: " - f"^https://github.com/([a-zA-Z0-9\-_/]+)$" + rf"^https://github.com/([a-zA-Z0-9\-_/]+)$" ) return res.groups()[0]