Skip to content

Commit

Permalink
chore: Update pre-commit hooks
Browse files Browse the repository at this point in the history
* Apply pre-commit hook updates that don't require code changes when
  applied.
   - Use https://github.com/psf/black-pre-commit-mirror which is 2x faster.
      + Update black from 22.3.0 -> 23.7.0.
   - Use https://github.com/astral-sh/ruff-pre-commit as new official repo.
   - Update codespell from v2.1.0 -> v2.2.5.
  • Loading branch information
matthewfeickert authored and frank1010111 committed Aug 10, 2023
1 parent 5dd4515 commit e194a48
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
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.7.0
hooks:
- id: black-jupyter

Expand Down Expand Up @@ -44,9 +44,9 @@ repos:
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [black==22.3.0]
additional_dependencies: [black==23.7.0]

- repo: https://github.com/charliermarsh/ruff-pre-commit
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.246"
hooks:
- id: ruff
Expand All @@ -63,7 +63,7 @@ repos:
# - scipy

- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.5
hooks:
- id: codespell

Expand Down

0 comments on commit e194a48

Please sign in to comment.