From 3bf78a14b64e1ce62a4ee43a698ad74bee6265ae Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:37:55 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=AA=9D=20update=20pre-c?= =?UTF-8?q?ommit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) - [github.com/srstevenson/nb-clean: 2.4.0 → 3.2.0](https://github.com/srstevenson/nb-clean/compare/2.4.0...3.2.0) - [github.com/sirosen/texthooks: 0.5.0 → 0.6.4](https://github.com/sirosen/texthooks/compare/0.5.0...0.6.4) - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.275 → v0.2.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.275...v0.2.2) - [github.com/psf/black: 23.3.0 → 24.2.0](https://github.com/psf/black/compare/23.3.0...24.2.0) - [github.com/asottile/blacken-docs: 1.14.0 → 1.16.0](https://github.com/asottile/blacken-docs/compare/1.14.0...1.16.0) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.9-for-vscode...v4.0.0-alpha.8) - [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](https://github.com/codespell-project/codespell/compare/v2.2.5...v2.2.6) --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bd78cd1..3146155 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ ci: repos: # Standard hooks - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -29,7 +29,7 @@ repos: # Clean jupyter notebooks - repo: https://github.com/srstevenson/nb-clean - rev: "2.4.0" + rev: "3.2.0" hooks: - id: nb-clean @@ -43,26 +43,26 @@ repos: # Handling unwanted unicode characters - repo: https://github.com/sirosen/texthooks - rev: 0.5.0 + rev: 0.6.4 hooks: - id: fix-ligatures - id: fix-smartquotes - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.275 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.2.2 hooks: - id: ruff args: ["--fix"] # Run code formatting with Black - repo: https://github.com/psf/black - rev: 23.3.0 # Keep in sync with blacken-docs + rev: 24.2.0 # Keep in sync with blacken-docs hooks: - id: black-jupyter # Also run Black on examples in the documentation - repo: https://github.com/asottile/blacken-docs - rev: 1.14.0 + rev: 1.16.0 hooks: - id: blacken-docs additional_dependencies: @@ -70,14 +70,14 @@ repos: # Format configuration files with prettier - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.0-alpha.9-for-vscode" + rev: "v4.0.0-alpha.8" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] # Check for spelling - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell args: ["-L", "wille,linz,braket,coo", "--skip", "*.ipynb"]