mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-16 22:42:57 +00:00
Update pre-commit hooks
This commit is contained in:
@@ -28,14 +28,14 @@ repos:
|
|||||||
|
|
||||||
# Autoformat: Python code
|
# Autoformat: Python code
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 24.3.0
|
rev: 24.4.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args: [--target-version=py39]
|
args: [--target-version=py39]
|
||||||
|
|
||||||
# Check python code static typing
|
# Check python code static typing
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.9.0
|
rev: v1.10.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
args: [--config, ./mypy.ini]
|
args: [--config, ./mypy.ini]
|
||||||
@@ -68,7 +68,7 @@ repos:
|
|||||||
|
|
||||||
# `pre-commit sample-config` default hooks
|
# `pre-commit sample-config` default hooks
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
@@ -77,7 +77,7 @@ repos:
|
|||||||
|
|
||||||
# Lint: Dockerfile
|
# Lint: Dockerfile
|
||||||
- repo: https://github.com/hadolint/hadolint
|
- repo: https://github.com/hadolint/hadolint
|
||||||
rev: v2.12.1-beta
|
rev: v2.13.0-beta
|
||||||
hooks:
|
hooks:
|
||||||
- id: hadolint-docker
|
- id: hadolint-docker
|
||||||
entry: hadolint/hadolint:v2.12.1-beta hadolint
|
entry: hadolint/hadolint:v2.12.1-beta hadolint
|
||||||
@@ -85,7 +85,7 @@ repos:
|
|||||||
# Lint: Dockerfile
|
# Lint: Dockerfile
|
||||||
# We're linting .dockerfile files as well
|
# We're linting .dockerfile files as well
|
||||||
- repo: https://github.com/hadolint/hadolint
|
- repo: https://github.com/hadolint/hadolint
|
||||||
rev: v2.12.1-beta
|
rev: v2.13.0-beta
|
||||||
hooks:
|
hooks:
|
||||||
- id: hadolint-docker
|
- id: hadolint-docker
|
||||||
name: Lint *.dockerfile Dockerfiles
|
name: Lint *.dockerfile Dockerfiles
|
||||||
@@ -123,7 +123,7 @@ repos:
|
|||||||
|
|
||||||
# Lint: Markdown
|
# Lint: Markdown
|
||||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||||
rev: v0.39.0
|
rev: v0.40.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args: ["--fix"]
|
args: ["--fix"]
|
||||||
|
Reference in New Issue
Block a user