aiogram/.pre-commit-config.yaml

35 lines
993 B
YAML
Raw Normal View History

2020-05-06 13:00:06 +03:00
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
2020-05-13 22:58:58 +03:00
files: ^(aiogram|tests)
2020-05-06 13:00:06 +03:00
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: flake8
args: ['--config=.flake8']
2020-05-13 22:58:58 +03:00
files: ^(aiogram|tests)
2020-05-06 13:00:06 +03:00
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- repo: https://github.com/asottile/seed-isort-config
rev: master
hooks:
- id: seed-isort-config
2020-05-13 22:58:58 +03:00
additional_dependencies: [toml]
files: aiogram
2020-05-06 13:00:06 +03:00
- repo: https://github.com/pre-commit/mirrors-isort
rev: master # pick the isort version you'd like to use from https://github.com/pre-commit/mirrors-isort/releases
hooks:
- id: isort
2020-05-13 22:58:58 +03:00
additional_dependencies: [toml]
2020-05-06 13:04:40 +03:00
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.770' # pick sha/tag from https://github.com/pre-commit/mirrors-mypy
hooks:
- id: mypy
2020-05-13 22:58:58 +03:00
files: aiogram