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] 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) == {