From 7b47a003cc311285c8139151ca8e2b2018e586fe Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 20:50:41 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/commitizen-tools/commitizen: v4.10.0 → v4.12.1](https://github.com/commitizen-tools/commitizen/compare/v4.10.0...v4.12.1) - [github.com/python/black: 25.12.0 → 26.1.0](https://github.com/python/black/compare/25.12.0...26.1.0) - [github.com/astral-sh/ruff-pre-commit: v0.14.8 → v0.14.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.8...v0.14.14) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b517a314..a2863551 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: stages: - commit-msg repo: https://github.com/commitizen-tools/commitizen - rev: v4.10.0 + rev: v4.12.1 - hooks: - id: check-useless-excludes repo: meta @@ -18,7 +18,7 @@ repos: - hooks: - id: black repo: https://github.com/python/black - rev: 25.12.0 + rev: 26.1.0 - hooks: - id: check-added-large-files args: [--maxkb=10000] @@ -51,7 +51,7 @@ repos: rev: v6.0.0 - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.14.8 + rev: v0.14.14 hooks: # Run the linter. - id: ruff From 27a99eb7a55a858867bb33d014441730d66b5142 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 20:51:03 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- risuclient/shell.py | 1 - setup.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/risuclient/shell.py b/risuclient/shell.py index bd0e1f7d..3886bafa 100755 --- a/risuclient/shell.py +++ b/risuclient/shell.py @@ -35,7 +35,6 @@ import tempfile import sys - if sys.version_info >= (3, 4): # Handle imp deprecation towards importlib diff --git a/setup.py b/setup.py index cd759805..41d264d1 100755 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ command = "git tag|sort -V|grep -v ^[a-Z]|grep -v 2017|tail -1" proc = subprocess.Popen([command], stdout=subprocess.PIPE, shell=True) -(out, err) = proc.communicate() +out, err = proc.communicate() version = out.strip().decode("utf-8")