Skip to content

Commit

Permalink
⬆️πŸͺ update pre-commit hooks
Browse files Browse the repository at this point in the history
updates:
- 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.0.282](astral-sh/ruff-pre-commit@v0.0.275...v0.0.282)
- [github.com/psf/black: 23.3.0 β†’ 23.7.0](psf/black@23.3.0...23.7.0)
- [github.com/asottile/blacken-docs: 1.14.0 β†’ 1.15.0](adamchainz/blacken-docs@1.14.0...1.15.0)
- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode β†’ v3.0.1](pre-commit/mirrors-prettier@v3.0.0-alpha.9-for-vscode...v3.0.1)
  • Loading branch information
pre-commit-ci[bot] authored Aug 7, 2023
1 parent df175ac commit 6ddeec0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,29 @@ repos:
- 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.0.282
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: 23.7.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.15.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: "v3.0.1"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
Expand Down

0 comments on commit 6ddeec0

Please sign in to comment.