mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 15:02:57 +00:00
Update pre-commit hooks
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
repos:
|
||||
# Autoupdate: Python code
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.17.0
|
||||
rev: v3.19.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: [--py39-plus]
|
||||
@@ -28,14 +28,14 @@ repos:
|
||||
|
||||
# Autoformat: Python code
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 24.8.0
|
||||
rev: 24.10.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: [--target-version=py39]
|
||||
|
||||
# Check python code static typing
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.11.2
|
||||
rev: v1.13.0
|
||||
hooks:
|
||||
- id: mypy
|
||||
args: [--config, ./mypy.ini]
|
||||
@@ -69,7 +69,7 @@ repos:
|
||||
|
||||
# `pre-commit sample-config` default hooks
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.6.0
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: end-of-file-fixer
|
||||
@@ -78,7 +78,7 @@ repos:
|
||||
|
||||
# Lint: Dockerfile
|
||||
- repo: https://github.com/hadolint/hadolint
|
||||
rev: v2.13.0-beta
|
||||
rev: v2.13.1-beta
|
||||
hooks:
|
||||
- id: hadolint-docker
|
||||
entry: hadolint/hadolint:v2.12.1-beta hadolint
|
||||
@@ -86,7 +86,7 @@ repos:
|
||||
# Lint: Dockerfile
|
||||
# We're linting .dockerfile files as well
|
||||
- repo: https://github.com/hadolint/hadolint
|
||||
rev: v2.13.0-beta
|
||||
rev: v2.13.1-beta
|
||||
hooks:
|
||||
- id: hadolint-docker
|
||||
name: Lint *.dockerfile Dockerfiles
|
||||
@@ -124,14 +124,14 @@ repos:
|
||||
|
||||
# Lint: Markdown
|
||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||
rev: v0.41.0
|
||||
rev: v0.42.0
|
||||
hooks:
|
||||
- id: markdownlint
|
||||
args: ["--fix"]
|
||||
|
||||
# Strip output from Jupyter notebooks
|
||||
- repo: https://github.com/kynan/nbstripout
|
||||
rev: 0.7.1
|
||||
rev: 0.8.0
|
||||
hooks:
|
||||
- id: nbstripout
|
||||
|
||||
@@ -149,7 +149,7 @@ repos:
|
||||
|
||||
# Run black on python code blocks in documentation files.
|
||||
- repo: https://github.com/adamchainz/blacken-docs
|
||||
rev: 1.18.0
|
||||
rev: 1.19.1
|
||||
hooks:
|
||||
- id: blacken-docs
|
||||
# --skip-errors is added to allow us to have python syntax highlighting even if
|
||||
|
@@ -1,7 +1,6 @@
|
||||
# Jupyter Docker Stacks
|
||||
|
||||
[
|
||||
](https://github.com/jupyter/docker-stacks/actions/workflows/docker.yml?query=branch%3Amain "Docker images build status")
|
||||
[](https://github.com/jupyter/docker-stacks/actions/workflows/docker.yml?query=branch%3Amain "Docker images build status")
|
||||
[](https://jupyter-docker-stacks.readthedocs.io/en/latest/ "Documentation build status")
|
||||
[](https://results.pre-commit.ci/latest/github/jupyter/docker-stacks/main "pre-commit.ci build status")
|
||||
[](https://discourse.jupyter.org/ "Jupyter Discourse Forum")
|
||||
|
Reference in New Issue
Block a user