precommit: introduce mdformat (#1276)

* precommit: introduce `mdformat`

* precommit: apply
This commit is contained in:
Jirka Borovec
2024-03-19 23:46:56 +01:00
committed by GitHub
parent 3de0dc667e
commit 165d7467f9
37 changed files with 1074 additions and 780 deletions

View File

@@ -22,10 +22,21 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: no-commit-to-branch
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-black
- mdformat_frontmatter
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.261
hooks: