From c9ccdaefe0973d981db50ff635e57c3c8fbf79df 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 21:46:29 +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: v3.21.3 → v3.25.0](https://github.com/commitizen-tools/commitizen/compare/v3.21.3...v3.25.0) - [github.com/python/black: 24.3.0 → 24.4.2](https://github.com/python/black/compare/24.3.0...24.4.2) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) --- .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 14884cc7..b409ca3b 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: v3.21.3 + rev: v3.25.0 - hooks: - id: check-useless-excludes repo: meta @@ -26,7 +26,7 @@ repos: - hooks: - id: black repo: https://github.com/python/black - rev: 24.3.0 + rev: 24.4.2 - hooks: - id: check-added-large-files - id: check-ast @@ -55,7 +55,7 @@ repos: - id: check-byte-order-marker - id: check-docstring-first repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 - hooks: - id: flake8 repo: https://github.com/pycqa/flake8 From 2c54944f079fd51c94b8921794264d861367d063 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 21:46:43 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/risuclient/shell.py b/risuclient/shell.py index df324a76..2c263750 100755 --- a/risuclient/shell.py +++ b/risuclient/shell.py @@ -31,13 +31,14 @@ import datetime import gettext import hashlib -import imp import json import logging import os import re import tempfile +import imp + # Do not require everyone to use requests try: import requests