diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d0f33e81e..b50594bf6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: additional_dependencies: - prettier@2.8.4 - repo: https://github.com/camptocamp/jsonschema-gentypes - rev: 2.8.1 + rev: 2.9.3 hooks: - id: jsonschema-gentypes files: |- @@ -109,8 +109,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.9.0 # pypi + - prospector-profile-utils==1.14.1 # pypi - ruff==0.8.1 # pypi - repo: https://github.com/sbrunner/jsonschema-validator rev: 0.3.2 @@ -118,10 +118,10 @@ repos: - id: jsonschema-validator files: ^ci/config\.yaml$ - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 39.42.4 + rev: 39.64.0 hooks: - id: renovate-config-validator - repo: https://github.com/sbrunner/python-versions-hook - rev: 0.7.0 + rev: 0.8.0 hooks: - id: python-versions diff --git a/tilecloud_chain/configuration.py b/tilecloud_chain/configuration.py index 2cc867b0e..abb70a555 100644 --- a/tilecloud_chain/configuration.py +++ b/tilecloud_chain/configuration.py @@ -909,7 +909,7 @@ class Generation(TypedDict, total=False): """ -GithubAccess = Union[Literal["push"], Literal["pull"], Literal["admin"]] +GithubAccess = Literal["push"] | Literal["pull"] | Literal["admin"] """ GitHub access. @@ -1534,7 +1534,7 @@ class LayerMapnik(TypedDict, total=False): """ -LayerMinResolutionSeed = Union[int, float] +LayerMinResolutionSeed = int | float """ layer min resolution seed. @@ -1878,7 +1878,7 @@ class Logging(TypedDict, total=False): """ Default value of the field path 'Layer cost metatile_generation_time' """ -MatrixIdentifier = Union[Literal["zoom"], Literal["resolution"]] +MatrixIdentifier = Literal["zoom"] | Literal["resolution"] """ Matrix identifier. @@ -2012,7 +2012,7 @@ class Openlayers(TypedDict, total=False): """ -OutputFormat = Union[Literal["png"], Literal["png256"], Literal["jpeg"], Literal["grid"]] +OutputFormat = Literal["png"] | Literal["png256"] | Literal["jpeg"] | Literal["grid"] """ Output format. @@ -2137,7 +2137,7 @@ class Provider(TypedDict, total=False): """ Default value of the field path 'TileCloud-chain configuration queue_store' """ -QueueStore = Union[Literal["redis"], Literal["sqs"], Literal["postgresql"]] +QueueStore = Literal["redis"] | Literal["sqs"] | Literal["postgresql"] """ Queue store. @@ -2404,7 +2404,7 @@ class S3Cost(TypedDict, total=False): """ -SentinelPort = Union[str, int] +SentinelPort = str | int """ Sentinel port.