From 32f3716625f736edfd1f1ef4527dc9a8db3b83fe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 16:37:58 +0000 Subject: [PATCH 1/2] Update CI/build dependencies --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 73eeaa3..be5e75b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: trailing-whitespace - id: mixed-line-ending - repo: https://github.com/camptocamp/jsonschema-gentypes - rev: 2.8.1 + rev: 2.9.3 hooks: - id: jsonschema-gentypes files: |- @@ -81,7 +81,7 @@ repos: - --builtin-schema - github-workflows-require-timeout - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 39.42.4 + rev: 39.86.3 hooks: - id: renovate-config-validator - repo: https://github.com/sirwart/ripsecrets @@ -105,8 +105,8 @@ repos: - --die-on-tool-error - --output-format=pylint additional_dependencies: - - prospector-profile-duplicated==1.8.0 # pypi - - prospector-profile-utils==1.12.2 # pypi + - prospector-profile-duplicated==1.10.0 # pypi + - prospector-profile-utils==1.14.1 # pypi - repo: https://github.com/mheap/json-schema-spell-checker rev: main hooks: From 228fa45e6d7ba7244a05efa869352975a6df3848 Mon Sep 17 00:00:00 2001 From: "geo-ghci-int[bot]" <146321879+geo-ghci-int[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 18:14:00 +0000 Subject: [PATCH 2/2] Apply pre-commit fix From the artifact of the previous workflow run --- LICENSE | 2 +- tag_publish/configuration.py | 38 ++++++++++++++++++------------------ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/LICENSE b/LICENSE index 9426bff..116add0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2020-2024, Camptocamp SA +Copyright (c) 2020-2025, Camptocamp SA All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/tag_publish/configuration.py b/tag_publish/configuration.py index 0fcc7e1..f572e5e 100644 --- a/tag_publish/configuration.py +++ b/tag_publish/configuration.py @@ -2,7 +2,7 @@ Automatically generated file from a JSON schema. """ -from typing import Any, Dict, List, TypedDict +from typing import Any, TypedDict class Configuration(TypedDict, total=False): @@ -51,7 +51,7 @@ class Configuration(TypedDict, total=False): Configuration to publish Helm charts on GitHub release """ - dispatch: List["DispatchConfig"] + dispatch: list["DispatchConfig"] """ Dispatch. @@ -60,11 +60,11 @@ class Configuration(TypedDict, total=False): """ -DISPATCH_CONFIG_DEFAULT: Dict[str, Any] = {} +DISPATCH_CONFIG_DEFAULT: dict[str, Any] = {} """ Default value of the field path 'Dispatch item' """ -DISPATCH_DEFAULT: List[Any] = [] +DISPATCH_DEFAULT: list[Any] = [] """ Default value of the field path 'Tag publish configuration dispatch' """ @@ -157,10 +157,10 @@ class Docker(TypedDict, total=False): default: True """ - images: List["DockerImage"] + images: list["DockerImage"] """ List of images to be published """ - repository: Dict[str, "DockerRepository"] + repository: dict[str, "DockerRepository"] """ Docker repository. @@ -201,7 +201,7 @@ class DockerImage(TypedDict, total=False): name: str """ The image name """ - tags: List[str] + tags: list[str] """ docker image tags. @@ -218,7 +218,7 @@ class DockerRepository(TypedDict, total=False): host: str """ The host of the repository URL """ - versions_type: List[str] + versions_type: list[str] """ Docker repository versions. @@ -253,10 +253,10 @@ class Helm(TypedDict, total=False): Configuration to publish Helm charts on GitHub release """ - packages: List["HelmPackage"] + packages: list["HelmPackage"] """ The configuration of packages that will be published """ - versions_type: List[str] + versions_type: list[str] """ helm versions. @@ -320,10 +320,10 @@ class Node(TypedDict, total=False): Configuration to publish on node """ - packages: List["NodePackage"] + packages: list["NodePackage"] """ The configuration of packages that will be published """ - versions_type: List[str] + versions_type: list[str] """ node versions. @@ -333,7 +333,7 @@ class Node(TypedDict, total=False): - tag """ - repository: Dict[str, "NodeRepository"] + repository: dict[str, "NodeRepository"] """ Node repository. @@ -344,7 +344,7 @@ class Node(TypedDict, total=False): host: npm.pkg.github.com """ - args: List[str] + args: list[str] """ Node args. @@ -408,10 +408,10 @@ class Pypi(TypedDict, total=False): Configuration to publish on pypi """ - packages: List["PypiPackage"] + packages: list["PypiPackage"] """ The configuration of packages that will be published """ - versions_type: List[str] + versions_type: list[str] """ pypi versions. @@ -447,7 +447,7 @@ class PypiPackage(TypedDict, total=False): default: . """ - build_command: List[str] + build_command: list[str] """ The command used to do the build """ @@ -455,7 +455,7 @@ class PypiPackage(TypedDict, total=False): """ Default value of the field path 'Tag publish configuration transformers' """ -TRANSFORM_DEFAULT: List[Any] = [] +TRANSFORM_DEFAULT: list[Any] = [] """ Default value of the field path 'transform' """ @@ -467,7 +467,7 @@ class PypiPackage(TypedDict, total=False): """ Default value of the field path 'Version transform to' """ -Transform = List["VersionTransform"] +Transform = list["VersionTransform"] """ transform.