Skip to content

Commit

Permalink
⬆️🪝 update pre-commit hooks
Browse files Browse the repository at this point in the history
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
- [github.com/srstevenson/nb-clean: 2.4.0 → 3.2.0](srstevenson/nb-clean@2.4.0...3.2.0)
- [github.com/sirosen/texthooks: 0.5.0 → 0.6.4](sirosen/texthooks@0.5.0...0.6.4)
- https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.275 → v0.2.2](astral-sh/ruff-pre-commit@v0.0.275...v0.2.2)
- [github.com/psf/black: 23.3.0 → 24.2.0](psf/black@23.3.0...24.2.0)
- [github.com/asottile/blacken-docs: 1.14.0 → 1.16.0](adamchainz/blacken-docs@1.14.0...1.16.0)
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.0.0-alpha.9-for-vscode...v4.0.0-alpha.8)
- [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](codespell-project/codespell@v2.2.5...v2.2.6)
  • Loading branch information
pre-commit-ci[bot] authored Feb 19, 2024
1 parent df175ac commit 3bf78a1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -43,41 +43,41 @@ 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:
- black==23.3.0 # keep in sync with black hook

# 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"]

0 comments on commit 3bf78a1

Please sign in to comment.