mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 10:34:06 +00:00
Update pre-commit hooks
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
repos:
|
repos:
|
||||||
# Autoupdate: Python code
|
# Autoupdate: Python code
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.2.0
|
rev: v3.2.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py39-plus]
|
args: [--py39-plus]
|
||||||
@@ -35,7 +35,7 @@ repos:
|
|||||||
|
|
||||||
# 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: v0.982
|
rev: v0.990
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
args: [--config, ./mypy.ini]
|
args: [--config, ./mypy.ini]
|
||||||
@@ -67,10 +67,10 @@ repos:
|
|||||||
|
|
||||||
# Lint: Dockerfile
|
# Lint: Dockerfile
|
||||||
- repo: https://github.com/hadolint/hadolint.git
|
- repo: https://github.com/hadolint/hadolint.git
|
||||||
rev: v2.10.0
|
rev: v2.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: hadolint-docker
|
- id: hadolint-docker
|
||||||
entry: hadolint/hadolint:v2.10.0 hadolint
|
entry: hadolint/hadolint:v2.12.0 hadolint
|
||||||
|
|
||||||
# Lint: YAML
|
# Lint: YAML
|
||||||
- repo: https://github.com/adrienverge/yamllint.git
|
- repo: https://github.com/adrienverge/yamllint.git
|
||||||
|
Reference in New Issue
Block a user