Update pre-commit hooks

This commit is contained in:
Ayaz Salikhov
2024-05-05 11:33:41 +01:00
parent 3be7274ee8
commit feeb4e78ef

View File

@@ -28,14 +28,14 @@ repos:
# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.4.2
hooks:
- id: black
args: [--target-version=py39]
# Check python code static typing
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.0
hooks:
- id: mypy
args: [--config, ./mypy.ini]
@@ -68,7 +68,7 @@ repos:
# `pre-commit sample-config` default hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: end-of-file-fixer
@@ -77,7 +77,7 @@ repos:
# Lint: Dockerfile
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
rev: v2.13.0-beta
hooks:
- id: hadolint-docker
entry: hadolint/hadolint:v2.12.1-beta hadolint
@@ -85,7 +85,7 @@ repos:
# Lint: Dockerfile
# We're linting .dockerfile files as well
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
rev: v2.13.0-beta
hooks:
- id: hadolint-docker
name: Lint *.dockerfile Dockerfiles
@@ -123,7 +123,7 @@ repos:
# Lint: Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
rev: v0.40.0
hooks:
- id: markdownlint
args: ["--fix"]