From d12b32209ae565a6739a954d28762082f65a12cd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 18:43:32 +0000 Subject: [PATCH 1/2] Update dependency https://github.com/m-birke/python-project-template.git to v1 --- .copier-answers.yml | 2 +- .github/workflows/static-code-check.yml | 4 ++-- .pre-commit-config.yaml | 10 ++++------ pyproject.toml | 6 ++++++ renovate.json | 8 ++++++++ 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index a862d49..37655e3 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: '0.5' +_commit: '1.2' _src_path: https://github.com/m-birke/python-project-template.git package_name: gengine project_description: Engine for piping generators diff --git a/.github/workflows/static-code-check.yml b/.github/workflows/static-code-check.yml index f7400a3..18dc392 100644 --- a/.github/workflows/static-code-check.yml +++ b/.github/workflows/static-code-check.yml @@ -10,9 +10,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: "3.10" - name: Install pre-commit diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b0d980f..7911d93 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,18 @@ #exclude: '' repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.5 + rev: v0.14.3 hooks: - id: ruff-check args: [ --fix ] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.17.0 + rev: v1.18.2 hooks: - id: mypy - args: [--install-types] + args: [--install-types, --non-interactive] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-json - id: check-toml @@ -20,8 +20,6 @@ repos: - id: debug-statements - id: end-of-file-fixer - id: fix-byte-order-marker - - id: fix-encoding-pragma - args: ['--remove'] - id: trailing-whitespace - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.5.5 diff --git a/pyproject.toml b/pyproject.toml index 259edd4..d401560 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,6 +139,12 @@ ban-relative-imports = "all" # Tests can use magic values, assertions, and relative imports "tests/**/*" = ["PLR2004", "S101", "TID252"] +#[[tool.mypy.overrides]] +#module = [ +#] +#follow_untyped_imports = true +#ignore_missing_imports = true + [tool.coverage.run] source_pkgs = ["gengine", "tests"] branch = true diff --git a/renovate.json b/renovate.json index 5db72dd..bd789c4 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,13 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" +<<<<<<< before updating +======= + ], + "ignorePaths": [ + ".github/workflows/static-code-check.yml", + ".pre-commit-config.yaml", + "pyproject.toml" +>>>>>>> after updating ] } From 4435efef7ea60b585d012f36e116ea333cc71953 Mon Sep 17 00:00:00 2001 From: m-birke Date: Tue, 4 Nov 2025 19:48:52 +0100 Subject: [PATCH 2/2] resolve conflict --- renovate.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/renovate.json b/renovate.json index bd789c4..8461833 100644 --- a/renovate.json +++ b/renovate.json @@ -2,13 +2,10 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" -<<<<<<< before updating -======= ], "ignorePaths": [ ".github/workflows/static-code-check.yml", ".pre-commit-config.yaml", "pyproject.toml" ->>>>>>> after updating ] }