From 725d99662a390ff215620af9c7b9af6014e94313 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 19:44:26 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.15.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.15.9) - [github.com/astral-sh/uv-pre-commit: 0.9.21 → 0.11.3](https://github.com/astral-sh/uv-pre-commit/compare/0.9.21...0.11.3) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 65bd3b08..a48a5f03 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,12 +3,12 @@ ci: skip: [pip-compile] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.10 + rev: v0.15.9 hooks: - id: ruff-check - id: ruff-format - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.9.21 + rev: 0.11.3 hooks: - id: pip-compile name: pip-compile common-requirements.in From 49d80dbf4c1782aa4b666705cc78cc8198ca02c7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 19:49:58 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- manage.py | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/manage.py b/manage.py index 519cdfed..9b59fc4a 100755 --- a/manage.py +++ b/manage.py @@ -714,10 +714,8 @@ def _compare(actual, infra_list, ocds_list, prefix, suffix): "Organization", { # Refer to project instead of contracting process, link to infrastructure codelist instead of PPP codelist. - ("properties", "roles", "description"): lambda s: ( - s.replace("contracting process", "project").replace( - "profiles/ppp/latest/en/", "infrastructure/{{version}}/{{lang}}/" - ) + ("properties", "roles", "description"): lambda s: s.replace("contracting process", "project").replace( + "profiles/ppp/latest/en/", "infrastructure/{{version}}/{{lang}}/" ), }, ) @@ -778,8 +776,8 @@ def _compare(actual, infra_list, ocds_list, prefix, suffix): "Document", { # Link to infrastructure codelist instead of PPP codelist. - ("properties", "documentType", "description"): lambda s: ( - s.replace("profiles/ppp/latest/en/", "infrastructure/{{version}}/{{lang}}/") + ("properties", "documentType", "description"): lambda s: s.replace( + "profiles/ppp/latest/en/", "infrastructure/{{version}}/{{lang}}/" ), }, ) @@ -799,8 +797,8 @@ def _compare(actual, infra_list, ocds_list, prefix, suffix): _copy_element( "Metric", { - ("properties", "id", "description"): lambda s: ( - s.replace("contracting process", "contracting process or project") + ("properties", "id", "description"): lambda s: s.replace( + "contracting process", "contracting process or project" ), }, ) @@ -844,11 +842,9 @@ def _compare(actual, infra_list, ocds_list, prefix, suffix): "MilestoneReference", { # Remove reference to release, add reference to project. - ("properties", "id", "description"): lambda s: ( - s.replace( - " described elsewhere in a release about this contracting process.", - " in this project or contracting process's `.milestones`.", - ) + ("properties", "id", "description"): lambda s: s.replace( + " described elsewhere in a release about this contracting process.", + " in this project or contracting process's `.milestones`.", ), }, )