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
|
2024-06-23 23:40:01 +02:00
|
|
|
rev: v4.6.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-10-07 02:23:04 +02:00
|
|
|
- id: check-yaml
|
|
|
|
- id: check-json
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-symlinks
|
|
|
|
- id: check-added-large-files
|
|
|
|
args: ['--maxkb=1500']
|
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
|
|
|
|
2024-06-23 23:40:01 +02:00
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 7.1.0
|
2022-04-04 17:21:47 +02:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
additional_dependencies:
|
|
|
|
- flake8-bugbear
|
|
|
|
- flake8-comprehensions
|
|
|
|
- flake8-simplify
|
|
|
|
|
2022-04-06 23:56:10 +02:00
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 22.3.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|