From b298839685811124c1213effc7563d7285af1412 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 16:55:57 +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/pycqa/flake8: 7.0.0 → 7.3.0](https://github.com/pycqa/flake8/compare/7.0.0...7.3.0) - https://github.com/ambv/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.1.1 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.1.1...26.1.0) - https://github.com/asottile/reorder_python_imports → https://github.com/asottile/reorder-python-imports - [github.com/asottile/reorder-python-imports: v3.12.0 → v3.16.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.16.0) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.19.1) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v6.0.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 191f044..6dfac55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,27 +7,27 @@ repos: language: script stages: [ commit-msg ] - repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 - - repo: https://github.com/ambv/black - rev: 24.1.1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black exclude: ^migrations/ language_version: python3 - - repo: https://github.com/asottile/reorder_python_imports - rev: v3.12.0 + - repo: https://github.com/asottile/reorder-python-imports + rev: v3.16.0 hooks: - id: reorder-python-imports args: [--py3-plus] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.19.1 hooks: - id: mypy additional_dependencies: ['types-requests'] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: debug-statements From c9b96fc229b7f1d200a242c73061d8963f0a9cd2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 16:56:11 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- scripts/check_version.py | 1 - shellhub/__init__.py | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/check_version.py b/scripts/check_version.py index 6ddbe3d..f4f4c61 100644 --- a/scripts/check_version.py +++ b/scripts/check_version.py @@ -3,7 +3,6 @@ from packaging import version - cat_cmd = subprocess.Popen(("cat", "shellhub/__init__.py"), stdout=subprocess.PIPE) output = subprocess.check_output(("grep", "__version__"), stdin=cat_cmd.stdout).decode("utf-8").strip() cat_cmd.wait() diff --git a/shellhub/__init__.py b/shellhub/__init__.py index bfe43a1..427efc9 100644 --- a/shellhub/__init__.py +++ b/shellhub/__init__.py @@ -10,7 +10,6 @@ ShellHubBaseException, ) - __all__ = [ "ShellHub", "ShellHubDevice",