Skip to content

Commit ebdf863

Browse files
committed
Update pre-commit configuration
1 parent f5ca77e commit ebdf863

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ ci:
44

55
repos:
66

7+
- repo: https://github.com/hukkin/mdformat
8+
rev: 0.7.22
9+
hooks:
10+
- id: mdformat
11+
additional_dependencies:
12+
- mdformat-myst
13+
- mdformat-ruff
14+
- mdformat-config
15+
716
- repo: https://github.com/pre-commit/pre-commit-hooks
817
rev: v5.0.0
918
hooks:
@@ -47,18 +56,8 @@ repos:
4756
args: [--autofix]
4857
- id: pretty-format-yaml
4958
args: [--autofix]
50-
# For the labeler GitHub Action, labels with spaces in them must
51-
# be put in quotes. However, the pretty-format-yaml hook will
52-
# remove the quotes which will break that action, so we should not
53-
# run this hook on `labeler.yml` (or certain other files).
54-
exclude: .github/labeler.yml|.pre-commit-search-and-replace.yaml
5559

5660
- repo: https://github.com/pre-commit/pygrep-hooks
5761
rev: v1.10.0
5862
hooks:
59-
- id: python-check-blanket-noqa
60-
name: noqa comments have an error code
61-
exclude: ^docs/plasmapy_sphinx/
62-
- id: rst-directive-colons
63-
- id: rst-inline-touching-normal
6463
- id: text-unicode-replacement-char

0 commit comments

Comments
 (0)