From 62a85b43b6b372e17ee0558587eec629c195e77b Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Tue, 5 Nov 2024 19:47:43 +0000 Subject: [PATCH] Update pre-commit hooks --- .pre-commit-config.yaml | 18 +++++++++--------- README.md | 3 +-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 25658fa1..549c39b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/README.md b/README.md index 426d7bad..1c998030 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Jupyter Docker Stacks -[![GitHub actions badge](https://github.com/jupyter/docker-stacks/actions/workflows/docker.yml/badge.svg) -](https://github.com/jupyter/docker-stacks/actions/workflows/docker.yml?query=branch%3Amain "Docker images build status") +[![GitHub actions badge](https://github.com/jupyter/docker-stacks/actions/workflows/docker.yml/badge.svg)](https://github.com/jupyter/docker-stacks/actions/workflows/docker.yml?query=branch%3Amain "Docker images build status") [![Read the Docs badge](https://img.shields.io/readthedocs/jupyter-docker-stacks.svg)](https://jupyter-docker-stacks.readthedocs.io/en/latest/ "Documentation build status") [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/jupyter/docker-stacks/main.svg)](https://results.pre-commit.ci/latest/github/jupyter/docker-stacks/main "pre-commit.ci build status") [![Discourse badge](https://img.shields.io/discourse/users.svg?color=%23f37626&server=https%3A%2F%2Fdiscourse.jupyter.org)](https://discourse.jupyter.org/ "Jupyter Discourse Forum")