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]