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