Skip to content

Commit 1bf12f2

Browse files
Update pre-commit (#68)
1 parent 0f69150 commit 1bf12f2

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ repos:
2323
hooks:
2424
- id: black
2525

26+
- repo: https://github.com/adamchainz/blacken-docs
27+
rev: 1.13.0
28+
hooks:
29+
- id: blacken-docs
30+
2631
- repo: https://github.com/pre-commit/mirrors-prettier
2732
rev: v2.7.1
2833
hooks:
2934
- id: prettier
30-
files: \.(css|md|yml|yaml)
35+
files: \.(css|html|md|yml|yaml)
3136
args: [--prose-wrap=preserve]
3237

3338
- repo: https://github.com/asottile/pyupgrade

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ Custom commands can access the `pyproject.toml` as follows:
122122
```python
123123
from spin import util
124124

125+
125126
@click.command()
126127
def example():
127128
"""Command that accesses `pyproject.toml` configuration"""

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
spin = "spin.__main__:main"
2222

2323
[project.optional-dependencies]
24-
lint = ["pre-commit >= 3.1"]
24+
lint = ["pre-commit >= 3.2"]
2525

2626
[project.urls]
2727
homepage = "https://github.com/scientific-python/spin"

0 commit comments

Comments
 (0)