From c7698496ad7d6443916a43dac0d10feed54c543e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:17:42 +0000 Subject: [PATCH 1/2] autoupdate pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/fsfe/reuse-tool: v5.0.2 → v6.0.0](https://github.com/fsfe/reuse-tool/compare/v5.0.2...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.2 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.2...v0.13.3) - [github.com/pycqa/pylint: v3.3.7 → v3.3.9](https://github.com/pycqa/pylint/compare/v3.3.7...v3.3.9) - [github.com/pre-commit/mirrors-mypy: v1.16.1 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.16.1...v1.18.2) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a445641..27f57eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,22 +14,22 @@ repos: - id: pretty-format-yaml args: [--autofix, --indent, '2'] - repo: https://github.com/fsfe/reuse-tool - rev: v5.0.2 + rev: v6.0.0 hooks: - id: reuse - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.2 + rev: v0.13.3 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pycqa/pylint - rev: v3.3.7 + rev: v3.3.9 hooks: - id: pylint additional_dependencies: [babel, tabulate, tzlocal, xdg-base-dirs, termcolor, pytest] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.16.1 + rev: v1.18.2 hooks: - id: mypy additional_dependencies: [types-tabulate, types-tzlocal, types-termcolor] From dc8c7dc5907408350b9b9157b0569befee25cc41 Mon Sep 17 00:00:00 2001 From: Kevin Meagher <11620178+kjmeagher@users.noreply.github.com> Date: Tue, 7 Oct 2025 22:35:01 -0600 Subject: [PATCH 2/2] ignore typing error --- test_mz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_mz.py b/test_mz.py index f92d724..6ff1f97 100755 --- a/test_mz.py +++ b/test_mz.py @@ -131,8 +131,8 @@ def test_configure() -> None: "zones": ["ROK", "ROC"], "aliases": {"ROK": "Korea"}, "time": None, - "reftime": {"color": "red", "on_color": None, "attrs": []}, - "localtime": {"color": "green", "on_color": None, "attrs": []}, + "reftime": {"color": "red", "on_color": None, "attrs": []}, # type: ignore[dict-item] + "localtime": {"color": "green", "on_color": None, "attrs": []}, # type: ignore[dict-item] "locale": "fr_FR", } assert multizone.configure(args2, cfg) == {