diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bd78cd1..c08f2ea 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.3.3 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.3.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"]