19 строки
445 B
YAML
19 строки
445 B
YAML
|
repos:
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v4.2.0
|
||
|
hooks:
|
||
|
- id: check-yaml
|
||
|
- id: end-of-file-fixer
|
||
|
- id: trailing-whitespace
|
||
|
|
||
|
# Opinionated code formatter to forget about formatting
|
||
|
- repo: https://github.com/psf/black
|
||
|
rev: 21.12b0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
|
||
|
# Sort imports deterministically
|
||
|
- repo: https://github.com/pycqa/isort
|
||
|
rev: 5.10.1
|
||
|
hooks:
|
||
|
- id: isort
|