Skip to content

Commit 470a6a9

Browse files
committed
Update pre-commit hooks
Setting markdownlint to v0.38.0 because newer versions had some issues with nested headings.
1 parent b7b4a62 commit 470a6a9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.5.0
4+
rev: v5.0.0
55
hooks:
66
- id: trailing-whitespace
77
- id: end-of-file-fixer
@@ -19,47 +19,47 @@ repos:
1919
- id: check-yaml
2020
- id: check-json
2121
- repo: https://github.com/shellcheck-py/shellcheck-py
22-
rev: v0.9.0.6
22+
rev: v0.10.0.1
2323
hooks:
2424
- id: shellcheck
2525
name: Shellcheck
2626
args: ["-f", "gcc"] # output filename:linenum:colnum (clickable)
2727
- repo: https://github.com/AleksaC/hadolint-py
28-
rev: v2.12.0.3
28+
rev: v2.12.1b3
2929
hooks:
3030
- id: hadolint
3131
name: Hadolint (Dockerfile checker)
3232
# Actual Python Linters
3333
- repo: https://github.com/python-poetry/poetry
34-
rev: 1.6.1
34+
rev: 2.0.1
3535
hooks: # Validate poetry package + ensure lockfile updated
3636
- id: poetry-check
3737
- id: poetry-lock
3838
- repo: https://github.com/psf/black
39-
rev: 23.9.1
39+
rev: 24.10.0
4040
hooks:
4141
- id: black
4242
name: Black (Python formatter)
4343
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: v0.1.0
44+
rev: v0.9.2
4545
hooks:
4646
- id: ruff
4747
args: ["--fix", "--exit-non-zero-on-fix"]
4848
- repo: https://github.com/pre-commit/mirrors-mypy
49-
rev: v1.6.0
49+
rev: v1.14.1
5050
hooks:
5151
- id: mypy
5252
name: Mypy (Python type-checker)
5353
exclude: "docs/source/conf.py"
5454
# Uncomment below if mypy requires extra type stub packages
5555
additional_dependencies: [types-PyYAML==6.0.12.2]
5656
- repo: https://github.com/igorshubovych/markdownlint-cli
57-
rev: v0.35.0
57+
rev: v0.38.0
5858
hooks:
5959
- id: markdownlint
6060
args: ["--fix", "--config", ".markdown-lint.yml"]
6161
- repo: https://github.com/adrienverge/yamllint.git
62-
rev: v1.32.0
62+
rev: v1.35.1
6363
hooks:
6464
- id: yamllint
6565
exclude: \.copier.*\.yaml

0 commit comments

Comments
 (0)