From 06c94e28a8c61159d3f70fce8f9ca24688ad051c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 18:38:16 +0000 Subject: [PATCH 1/2] Update dependency https://github.com/m-birke/python-project-template.git to v0.5 --- .copier-answers.yml | 2 +- .pre-commit-config.yaml | 1 + README.md | 17 ++++++----------- pyproject.toml | 12 +++++++++--- 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 216321a..a862d49 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.2' +_commit: '0.5' _src_path: https://github.com/m-birke/python-project-template.git package_name: gengine project_description: Engine for piping generators diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 20e98c6..b0d980f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,7 @@ repos: rev: v1.17.0 hooks: - id: mypy + args: [--install-types] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: diff --git a/README.md b/README.md index 5cb0cc8..7184df6 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,11 @@ # gengine -![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/m-birke/gengine/static-code-check.yml) -[![PyPI - Version](https://img.shields.io/pypi/v/gengine.svg)](https://pypi.org/project/gengine) -[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gengine.svg)](https://pypi.org/project/gengine) -![GitHub License](https://img.shields.io/github/license/m-birke/gengine) -![PyPI - Status](https://img.shields.io/pypi/status/gengine) -![PyPI - Format](https://img.shields.io/pypi/format/gengine) -![PyPI - Types](https://img.shields.io/pypi/types/gengine) -![PyPI - Implementation](https://img.shields.io/pypi/implementation/gengine) -[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/) -[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) -[![Linting: Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) +| | | +| --- | --- | +| Version | [![PyPI - Version](https://img.shields.io/pypi/v/gengine.svg)](https://pypi.org/project/gengine) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gengine.svg)](https://pypi.org/project/gengine) | +| Project | ![GitHub License](https://img.shields.io/github/license/m-birke/gengine) ![PyPI - Status](https://img.shields.io/pypi/status/gengine) ![PyPI - Format](https://img.shields.io/pypi/format/gengine) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/gengine) | +| CI | ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/m-birke/gengine/static-code-check.yml) | +| Code | ![PyPI - Types](https://img.shields.io/pypi/types/gengine) [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/) [![Linting: Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) | ----- diff --git a/pyproject.toml b/pyproject.toml index 7585391..6aae9a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,11 @@ name = "gengine" dynamic = ["version"] description = "Engine for piping generators" readme = "README.md" +<<<<<<< before updating requires-python = ">=3.8" +======= +requires-python = ">=3.10" +>>>>>>> after updating license = "MIT" license-files = ["LICENSE"] keywords = [ @@ -85,6 +89,8 @@ check = "mypy --install-types --non-interactive {args:src/gengine tests}" [tool.ruff] target-version = "py38" line-length = 120 + +[tool.ruff.lint] select = [ "A", "ARG", @@ -127,13 +133,13 @@ unfixable = [ "F401", ] -[tool.ruff.isort] +[tool.ruff.lint.isort] known-first-party = ["gengine"] -[tool.ruff.flake8-tidy-imports] +[tool.ruff.lint.flake8-tidy-imports] ban-relative-imports = "all" -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] # Tests can use magic values, assertions, and relative imports "tests/**/*" = ["PLR2004", "S101", "TID252"] From eb597c6d8c3bb73cd02abe7182905b549eceaef5 Mon Sep 17 00:00:00 2001 From: m-birke Date: Tue, 4 Nov 2025 19:41:13 +0100 Subject: [PATCH 2/2] resolve conflic --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6aae9a3..259edd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,11 +7,7 @@ name = "gengine" dynamic = ["version"] description = "Engine for piping generators" readme = "README.md" -<<<<<<< before updating requires-python = ">=3.8" -======= -requires-python = ">=3.10" ->>>>>>> after updating license = "MIT" license-files = ["LICENSE"] keywords = [