Skip to content

Commit 1d4480a

Browse files
renovate[bot]geo-ghci-int[bot]sbrunner
authored
Update CI dependencies (#3741)
* Update CI dependencies * Apply pre-commit fix From the artifact of the previous workflow run * Add copyright headers, fix ISC004, RUF036 and BLE001 ruff v0.16.0 violations * Add missing copyright header to docker/run --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: geo-ghci-int[bot] <146321879+geo-ghci-int[bot]@users.noreply.github.com> Co-authored-by: Stéphane Brunner <stephane.brunner@camptocamp.com>
1 parent 445e9f8 commit 1d4480a

46 files changed

Lines changed: 98 additions & 61 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/tag-publish/1.1.1/tag_publish/schema.json
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/tag-publish/1.2.2/tag_publish/schema.json
22

33
docker:
44
images:

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- run: docker system prune --all --force
27-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
27+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2828
with:
2929
fetch-depth: 0
3030

@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3939
- run: python3 -m pip install --requirement=ci/requirements.txt
4040

41-
- uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0
41+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
4242
with:
4343
path: ~/.cache/pre-commit
4444
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/rebuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- run: docker system prune --all --force
24-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
24+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2525
with:
2626
ref: ${{ matrix.branch }}
2727

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ repos:
9393
args:
9494
- --test=utils:tests
9595
- repo: https://github.com/codespell-project/codespell
96-
rev: v2.4.2
96+
rev: v2.4.3
9797
hooks:
9898
- id: codespell
9999
exclude: ^(.*/)?(poetry\.lock|package-lock\.json)$
@@ -104,7 +104,7 @@ repos:
104104
hooks:
105105
- id: shellcheck
106106
- repo: https://github.com/python-jsonschema/check-jsonschema
107-
rev: 0.37.3
107+
rev: 0.37.4
108108
hooks:
109109
- id: check-github-actions
110110
- id: check-github-workflows
@@ -121,11 +121,11 @@ repos:
121121
hooks:
122122
- id: ripsecrets
123123
- repo: https://github.com/astral-sh/ruff-pre-commit
124-
rev: v0.15.19
124+
rev: v0.16.1
125125
hooks:
126126
- id: ruff-format
127127
- repo: https://github.com/prospector-dev/prospector
128-
rev: v1.19.0
128+
rev: v1.19.1
129129
hooks:
130130
- id: prospector
131131
args:
@@ -141,7 +141,7 @@ repos:
141141
- prospector-profile-duplicated==1.12.0 # pypi
142142
- prospector-profile-utils==1.27.0 # pypi
143143
- pylint[spelling]==4.0.6 # pypi
144-
- ruff==0.15.19 # pypi
144+
- ruff==0.16.1 # pypi
145145
- id: prospector
146146
args:
147147
- --die-on-tool-error
@@ -150,7 +150,7 @@ repos:
150150
- --profile=utils:pre-commit
151151
additional_dependencies:
152152
- prospector-profile-utils==1.27.0 # pypi
153-
- ruff==0.15.19 # pypi
153+
- ruff==0.16.1 # pypi
154154
- repo: https://github.com/sbrunner/jsonschema-validator
155155
rev: 1.0.0
156156
hooks:
@@ -162,7 +162,7 @@ repos:
162162
|jsonschema\-gentypes\.yaml
163163
)$
164164
- repo: https://github.com/renovatebot/pre-commit-hooks
165-
rev: 43.242.0
165+
rev: 43.288.0
166166
hooks:
167167
- id: renovate-config-validator
168168
- repo: https://github.com/sbrunner/python-versions-hook

.prospector.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ ruff:
2121
options:
2222
target-version: py311
2323
disable:
24+
- BLE001 # No blind except (already suppressed with # noqa in the code)
2425
- PLC0415 # `import` should be at the top-level of a file (present in pre-commit but not in checks)

ci/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
c2cciutils==1.7.5
22
poetry-plugin-export==1.10.0
3-
pre-commit==4.6.0
3+
pre-commit==4.6.1
44
importlib-metadata<9.0.1
5-
tag-publish==1.1.1
5+
tag-publish==1.2.2

docker/run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/python
2+
# Copyright (c) 2026 by Camptocamp
23

34
import os
45
import stat

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude = ["test_*.py", "tilecloud_chain/tests/__init__.py", "tilecloud_chain/co
55

66
[tool.ruff.lint]
77
select = []
8-
ignore = ["ANN401", "C90", "COM812", "D100", "D104", "D105", "D107", "D200", "D202", "D207", "D208", "D212", "E501", "EM101", "EM102", "ERA001", "FA", "FBT001", "FBT002", "FIX002", "I001", "PERF203", "PLC0415", "PLR09", "PLR2004", "Q000", "S101", "S113", "SIM105", "T201", "TD002", "W293"]
8+
ignore = ["ANN401", "BLE001", "C90", "COM812", "D100", "D104", "D105", "D107", "D200", "D202", "D207", "D208", "D212", "E501", "EM101", "EM102", "ERA001", "FA", "FBT001", "FBT002", "FIX002", "I001", "PERF203", "PLC0415", "PLR09", "PLR2004", "Q000", "S101", "S113", "SIM105", "T201", "TD002", "W293"]
99
extend-select = ["UP", "I", "S", "B", "ALL"]
1010

1111
[tool.ruff.lint.pydocstyle]
@@ -47,7 +47,7 @@ pydantic-settings = "2.14.2"
4747
mapnik = "4.2.2"
4848

4949
[tool.poetry.group.dev.dependencies]
50-
prospector = { extras = ["with_mypy", "with_bandit", "with_pyroma", "with_ruff"], version = "1.19.0" }
50+
prospector = { extras = ["with_mypy", "with_bandit", "with_pyroma", "with_ruff"], version = "1.19.1" }
5151
prospector-profile-duplicated = "1.12.0"
5252
prospector-profile-utils = "1.27.0"
5353
c2cwsgiutils = { version = "6.1.9", extras = ["test_images"] }

tilecloud_chain/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) 2026 by Camptocamp
12
"""TileCloud Chain."""
23

34
import asyncio

0 commit comments

Comments
 (0)