Skip to content

Commit 51b856c

Browse files
committed
Update pre-commit
1 parent b786cd4 commit 51b856c

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: v4.6.0
44
hooks:
55
- id: check-toml
66
- id: check-yaml
@@ -9,21 +9,21 @@ repos:
99
- id: end-of-file-fixer
1010
- id: trailing-whitespace
1111
args: [--markdown-linebreak-ext=md]
12-
- repo: https://github.com/pre-commit/mirrors-prettier
13-
rev: v3.1.0
12+
- repo: https://github.com/rbubley/mirrors-prettier
13+
rev: v3.3.3
1414
hooks:
1515
- id: prettier
1616
- repo: https://github.com/asottile/pyupgrade
17-
rev: v3.15.0
17+
rev: v3.17.0
1818
hooks:
1919
- id: pyupgrade
2020
args: [--py38-plus]
2121
- repo: https://github.com/PyCQA/isort
22-
rev: 5.12.0
22+
rev: 5.13.2
2323
hooks:
2424
- id: isort
2525
- repo: https://github.com/pycqa/flake8
26-
rev: 6.1.0
26+
rev: 7.1.0
2727
hooks:
2828
- id: flake8
2929
additional_dependencies:
@@ -34,6 +34,6 @@ repos:
3434
- id: doc8
3535
exclude: README\.rst
3636
- repo: https://github.com/psf/black-pre-commit-mirror
37-
rev: 23.11.0
37+
rev: 24.4.2
3838
hooks:
3939
- id: black

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
list see the documentation:
55
https://www.sphinx-doc.org/en/master/usage/configuration.html
66
"""
7+
78
import re
89
from importlib.metadata import distribution
910

0 commit comments

Comments
 (0)