You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- 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://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
|