Skip to content

Commit

Permalink
Update pre-commit repos (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jun 20, 2024
1 parent 03ba1d3 commit e3cb137
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 # v4.4.0
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -19,19 +19,19 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: bf7a16254ec96b084a6caf3d435ec18f0f245cc7 # 23.3.0
rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-prettier
rev: 50c5478ed9e10bf360335449280cf2a67f4edb7a # v2.7.1
rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0
hooks:
- id: prettier
files: \.(css|html|md|yml|yaml)
args: [--prose-wrap=preserve]

- repo: https://github.com/asottile/pyupgrade
rev: aa5af9cd273894d0246e0eb9fa5ad557037481dc # v3.7.0
rev: 32151ac97cbfd7f9dcd22e49516fb32266db45b4 # frozen: v3.16.0
hooks:
- id: pyupgrade
args: [--py38-plus]
1 change: 1 addition & 0 deletions content/getting-started-example.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Compute the maximum of a Bessel function and plot it.
"""

import argparse

import numpy as np
Expand Down

0 comments on commit e3cb137

Please sign in to comment.