From 14d5303df62657b81cb624ee509900ac2be5c66f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Oct 2025 22:54:32 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/adamchainz/blacken-docs: 1.16.0 → 1.20.0](https://github.com/adamchainz/blacken-docs/compare/1.16.0...1.20.0) - [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) - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.1.0...v4.0.0-alpha.8) - [github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.14.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.1...v0.14.1) - [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v21.1.2](https://github.com/pre-commit/mirrors-clang-format/compare/v17.0.6...v21.1.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.18.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.18.2) - [github.com/codespell-project/codespell: v2.2.6 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.4.1) - [github.com/shellcheck-py/shellcheck-py: v0.9.0.6 → v0.11.0.1](https://github.com/shellcheck-py/shellcheck-py/compare/v0.9.0.6...v0.11.0.1) - [github.com/abravalheri/validate-pyproject: v0.16 → v0.24.1](https://github.com/abravalheri/validate-pyproject/compare/v0.16...v0.24.1) - [github.com/python-jsonschema/check-jsonschema: 0.28.0 → 0.34.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.0...0.34.1) --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c716394..1b50654 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,13 +4,13 @@ ci: repos: - repo: https://github.com/adamchainz/blacken-docs - rev: "1.16.0" + rev: "1.20.0" hooks: - id: blacken-docs additional_dependencies: [black==24.*] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.5.0" + rev: "v6.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -33,27 +33,27 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.1.0" + rev: "v4.0.0-alpha.8" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.2.1" + rev: "v0.14.1" hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v17.0.6" + rev: "v21.1.2" hooks: - id: clang-format types_or: [c++, c, cuda] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.8.0" + rev: "v1.18.2" hooks: - id: mypy files: src|tests @@ -62,12 +62,12 @@ repos: - pytest - repo: https://github.com/codespell-project/codespell - rev: "v2.2.6" + rev: "v2.4.1" hooks: - id: codespell - repo: https://github.com/shellcheck-py/shellcheck-py - rev: "v0.9.0.6" + rev: "v0.11.0.1" hooks: - id: shellcheck @@ -80,13 +80,13 @@ repos: exclude: .pre-commit-config.yaml - repo: https://github.com/abravalheri/validate-pyproject - rev: "v0.16" + rev: "v0.24.1" hooks: - id: validate-pyproject additional_dependencies: ["validate-pyproject-schema-store[all]"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.28.0" + rev: "0.34.1" hooks: - id: check-dependabot - id: check-github-workflows From d750697c7f22f3e19a6e42d3663ad9e49278355b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Oct 2025 22:55:06 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- src/s5cmd/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/s5cmd/__init__.py b/src/s5cmd/__init__.py index 8b82574..ca39c40 100644 --- a/src/s5cmd/__init__.py +++ b/src/s5cmd/__init__.py @@ -4,7 +4,6 @@ s5cmd: This project provides the infrastructure to build s5cmd Python wheels. """ - from __future__ import annotations import subprocess