Browse Source

Updated pre-commit hooks.

dev
Franco Masotti 4 months ago
parent
commit
4f9d9a2f23
Signed by: frnmst GPG Key ID: 24116ED85666780A
  1. 9
      .pre-commit-config.yaml

9
.pre-commit-config.yaml

@ -8,9 +8,14 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: destroyed-symlinks
- id: detect-private-key
- id: check-ast
- id: check-case-conflict
- id: debug-statements
- repo: https://github.com/frnmst/md-toc
rev: '7.2.0' # or a specific git tag from md-toc
- repo: https://codeberg.org/frnmst/md-toc
rev: '8.0.1' # or a specific git tag from md-toc
hooks:
- id: md-toc
args: [-p, 'github', '-l6'] # CLI options