Skip to content

Commit 15ea6e7

Browse files
committed
Pre-commit update
1 parent 8a6818f commit 15ea6e7

File tree

1 file changed

+42
-28
lines changed

1 file changed

+42
-28
lines changed

.pre-commit-config.yaml

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,55 @@
11
ci:
2-
autoupdate_schedule: quarterly
2+
# autoupdate_schedule: quarterly
3+
autofix_prs: false
34

45
repos:
5-
6-
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.3.0
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v4.5.0
88
hooks:
9-
- id: trailing-whitespace
10-
- id: end-of-file-fixer
11-
- id: check-docstring-first
12-
- id: mixed-line-ending
13-
14-
15-
- repo: https://github.com/psf/black
16-
rev: 22.10.0
9+
- id: trailing-whitespace
10+
- id: end-of-file-fixer
11+
- id: check-docstring-first
12+
- id: check-json
13+
- id: check-yaml
14+
- id: debug-statements
15+
- id: mixed-line-ending
16+
17+
- repo: https://github.com/asottile/pyupgrade
18+
rev: v3.15.0
1719
hooks:
18-
- id: black
19-
- id: black-jupyter
20+
- id: pyupgrade
21+
args:
22+
- "--py38-plus"
2023

24+
- repo: https://github.com/psf/black
25+
rev: 23.12.1
26+
hooks:
27+
- id: black
2128

22-
- repo: https://github.com/PyCQA/flake8
23-
rev: 5.0.4
29+
- repo: https://github.com/keewis/blackdoc
30+
rev: v0.3.9
2431
hooks:
25-
- id: flake8
32+
- id: blackdoc
2633

27-
- repo: https://github.com/PyCQA/isort
28-
rev: 5.10.1
34+
- repo: https://github.com/charliermarsh/ruff-pre-commit
35+
rev: "v0.1.11"
2936
hooks:
30-
- id: isort
37+
- id: ruff
38+
args: ["--fix"]
3139

32-
- repo: https://github.com/pre-commit/mirrors-prettier
33-
rev: 'v3.0.0-alpha.4'
40+
- repo: https://github.com/pre-commit/mirrors-prettier
41+
rev: v4.0.0-alpha.8
3442
hooks:
3543
- id: prettier
36-
name: prettier-markdown
37-
entry: prettier --write --parser mdx
38-
files: "\\.(\
39-
|md|markdown|mdown|mkdn\
40-
|mdx\
41-
)$"
44+
45+
- repo: https://github.com/nbQA-dev/nbQA
46+
rev: 1.7.1
47+
hooks:
48+
- id: nbqa-ruff
49+
args: ["--fix"]
50+
- id: nbqa-isort
51+
args: ["--profile=black"]
52+
additional_dependencies: [isort==5.6.4]
53+
- id: nbqa-black
54+
- id: nbqa-pyupgrade
55+
args: ["--py37-plus"]

0 commit comments

Comments
 (0)