2022-03-09 23:37:31 +01:00
|
|
|
# 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
|
2022-04-04 17:21:47 +02:00
|
|
|
rev: v4.1.0
|
2022-03-09 23:37:31 +01:00
|
|
|
hooks:
|
2022-03-28 12:53:06 +02:00
|
|
|
# - id: trailing-whitespace
|
|
|
|
# - id: end-of-file-fixer
|
2022-03-09 23:37:31 +01:00
|
|
|
- id: check-yaml
|
2022-04-04 17:21:47 +02:00
|
|
|
- id: check-json
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-symlinks
|
2022-03-28 12:53:06 +02:00
|
|
|
- id: check-added-large-files
|
2022-03-09 23:37:31 +01:00
|
|
|
|
|
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
|
2022-04-04 17:21:47 +02:00
|
|
|
rev: v1.1.2
|
2022-03-09 23:37:31 +01:00
|
|
|
hooks:
|
|
|
|
- id: markdown-toc
|
2022-04-04 17:21:47 +02:00
|
|
|
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
rev: 4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
additional_dependencies:
|
|
|
|
- flake8-bugbear
|
|
|
|
- flake8-comprehensions
|
|
|
|
- flake8-simplify
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 22.3.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|