From e3f7116924dad455a87e85a5d7b8b7a07460fd57 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 20 Dec 2025 16:39:50 +0200 Subject: [PATCH 1/3] No need for setup-python with prek-action --- .github/workflows/lint.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4fd61d2..c81ca22 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,9 +16,6 @@ jobs: - uses: actions/checkout@v6 with: persist-credentials: false - - uses: actions/setup-python@v6 - with: - python-version: "3.x" - uses: j178/prek-action@v1 mypy: From 86f116bda6698c3e03e0db5f7fcfd929a4ba9ad4 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 20 Dec 2025 16:40:45 +0200 Subject: [PATCH 2/3] Add seven-day cooldown to Renovate --- .github/renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/renovate.json b/.github/renovate.json index 6ca9f5c..9bc7736 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -2,6 +2,7 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:base", ":semanticCommitsDisabled"], "labels": ["changelog: skip", "dependencies"], + "minimumReleaseAge": "7 days", "packageRules": [ { "groupName": "github-actions", From bdc49ea831cb3a79ba0155a57f27259cabb8cafd Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 20 Dec 2025 17:34:45 +0200 Subject: [PATCH 3/3] Don't ignore UP038, it's been removed from Ruff --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 10c24bb..8edfe1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,6 @@ lint.ignore = [ "E226", # Missing whitespace around arithmetic operator "E241", # Multiple spaces after ',' "PIE790", # flake8-pie: unnecessary-placeholder - "UP038", # Makes code slower and more verbose ] lint.per-file-ignores."tests/*" = [ "D", @@ -99,6 +98,7 @@ lint.flake8-pytest-style.parametrize-names-type = "csv" lint.isort.known-first-party = [ "humanize" ] lint.isort.required-imports = [ "from __future__ import annotations" ] lint.pydocstyle.convention = "google" +lint.future-annotations = true [tool.pyproject-fmt] max_supported_python = "3.15"