From 6f9ee3172772e457c0724338c99620e5174ed36d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 22:43:55 +0000 Subject: [PATCH 1/2] ci: [pre-commit.ci] autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.4.3) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b1ff6092..97efe270 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.5 + rev: v0.4.3 hooks: - id: ruff args: [--fix, --unsafe-fixes] @@ -17,7 +17,7 @@ repos: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.10.0 hooks: - id: mypy exclude: tests|examples From 8e7c73ebd661c230797f2cc15e82a08c382282e1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 22:44:41 +0000 Subject: [PATCH 2/2] style: [pre-commit.ci] auto fixes [...] --- examples/icon_explorer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/icon_explorer.py b/examples/icon_explorer.py index e50e896f..8f2c80fc 100644 --- a/examples/icon_explorer.py +++ b/examples/icon_explorer.py @@ -88,7 +88,7 @@ def setSize(self, size): self.updatePixmapLabels() def createHeaderLabel(self, text): - label = QtWidgets.QLabel("%s" % text) + label = QtWidgets.QLabel(f"{text}") label.setAlignment(Qt.AlignmentFlag.AlignCenter) return label