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 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