Skip to content

Commit a5eaf4a

Browse files
chore: update pre-commit hooks (#24)
* chore: update pre-commit hooks updates: - [github.com/adamchainz/blacken-docs: 1.16.0 → 1.20.0](adamchainz/blacken-docs@1.16.0...1.20.0) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0](pre-commit/pre-commit-hooks@v4.5.0...v6.0.0) - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.1.0...v4.0.0-alpha.8) - [github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.14.1](astral-sh/ruff-pre-commit@v0.2.1...v0.14.1) - [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v21.1.2](pre-commit/mirrors-clang-format@v17.0.6...v21.1.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.18.2](pre-commit/mirrors-mypy@v1.8.0...v1.18.2) - [github.com/codespell-project/codespell: v2.2.6 → v2.4.1](codespell-project/codespell@v2.2.6...v2.4.1) - [github.com/shellcheck-py/shellcheck-py: v0.9.0.6 → v0.11.0.1](shellcheck-py/shellcheck-py@v0.9.0.6...v0.11.0.1) - [github.com/abravalheri/validate-pyproject: v0.16 → v0.24.1](abravalheri/validate-pyproject@v0.16...v0.24.1) - [github.com/python-jsonschema/check-jsonschema: 0.28.0 → 0.34.1](python-jsonschema/check-jsonschema@0.28.0...0.34.1) * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 6486896 commit a5eaf4a

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ ci:
44

55
repos:
66
- repo: https://github.com/adamchainz/blacken-docs
7-
rev: "1.16.0"
7+
rev: "1.20.0"
88
hooks:
99
- id: blacken-docs
1010
additional_dependencies: [black==24.*]
1111

1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: "v4.5.0"
13+
rev: "v6.0.0"
1414
hooks:
1515
- id: check-added-large-files
1616
- id: check-case-conflict
@@ -33,27 +33,27 @@ repos:
3333
- id: rst-inline-touching-normal
3434

3535
- repo: https://github.com/pre-commit/mirrors-prettier
36-
rev: "v3.1.0"
36+
rev: "v4.0.0-alpha.8"
3737
hooks:
3838
- id: prettier
3939
types_or: [yaml, markdown, html, css, scss, javascript, json]
4040
args: [--prose-wrap=always]
4141

4242
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: "v0.2.1"
43+
rev: "v0.14.1"
4444
hooks:
4545
- id: ruff
4646
args: ["--fix", "--show-fixes"]
4747
- id: ruff-format
4848

4949
- repo: https://github.com/pre-commit/mirrors-clang-format
50-
rev: "v17.0.6"
50+
rev: "v21.1.2"
5151
hooks:
5252
- id: clang-format
5353
types_or: [c++, c, cuda]
5454

5555
- repo: https://github.com/pre-commit/mirrors-mypy
56-
rev: "v1.8.0"
56+
rev: "v1.18.2"
5757
hooks:
5858
- id: mypy
5959
files: src|tests
@@ -62,12 +62,12 @@ repos:
6262
- pytest
6363

6464
- repo: https://github.com/codespell-project/codespell
65-
rev: "v2.2.6"
65+
rev: "v2.4.1"
6666
hooks:
6767
- id: codespell
6868

6969
- repo: https://github.com/shellcheck-py/shellcheck-py
70-
rev: "v0.9.0.6"
70+
rev: "v0.11.0.1"
7171
hooks:
7272
- id: shellcheck
7373

@@ -80,13 +80,13 @@ repos:
8080
exclude: .pre-commit-config.yaml
8181

8282
- repo: https://github.com/abravalheri/validate-pyproject
83-
rev: "v0.16"
83+
rev: "v0.24.1"
8484
hooks:
8585
- id: validate-pyproject
8686
additional_dependencies: ["validate-pyproject-schema-store[all]"]
8787

8888
- repo: https://github.com/python-jsonschema/check-jsonschema
89-
rev: "0.28.0"
89+
rev: "0.34.1"
9090
hooks:
9191
- id: check-dependabot
9292
- id: check-github-workflows

src/s5cmd/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
s5cmd: This project provides the infrastructure to build s5cmd Python wheels.
55
"""
66

7-
87
from __future__ import annotations
98

109
import subprocess

0 commit comments

Comments
 (0)