aiogram/.pre-commit-config.yaml

29 lines
634 B
YAML
Raw Normal View History

2020-05-06 13:00:06 +03:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
2020-05-06 13:00:06 +03:00
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 22.3.0
2020-05-06 13:00:06 +03:00
hooks:
- id: black
files: &files '^(aiogram|tests|examples)'
2020-05-06 13:00:06 +03:00
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
2020-05-06 13:00:06 +03:00
hooks:
- id: isort
additional_dependencies: [ toml ]
files: *files
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
2020-05-06 13:04:40 +03:00
hooks:
- id: flake8
args: [ '--config=.flake8' ]
files: *files