27 lines
753 B
YAML
27 lines
753 B
YAML
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v4.3.0
|
||
|
hooks:
|
||
|
- id: check-case-conflict
|
||
|
- id: check-added-large-files
|
||
|
- id: check-merge-conflict
|
||
|
- id: mixed-line-ending
|
||
|
args: [ --fix=lf ]
|
||
|
- id: trailing-whitespace
|
||
|
args: [ --markdown-linebreak-ext=md ]
|
||
|
- id: debug-statements
|
||
|
- id: requirements-txt-fixer
|
||
|
args: [ requirements-dev.txt ]
|
||
|
- repo: https://github.com/adrienverge/yamllint
|
||
|
rev: v1.28.0
|
||
|
hooks:
|
||
|
- id: yamllint
|
||
|
types: [ file ]
|
||
|
files: ^(.*\.ya?ml(\.example)?|\.yamllint)$
|
||
|
- repo: https://github.com/psf/black
|
||
|
rev: 22.8.0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
language_version: python3.9
|
||
|
args: [ -l , '88' ]
|