mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 09:11:34 +00:00
34 lines
993 B
YAML
34 lines
993 B
YAML
repos:
|
|
- repo: https://github.com/ambv/black
|
|
rev: stable
|
|
hooks:
|
|
- id: black
|
|
files: ^(aiogram|tests)
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.3.0
|
|
hooks:
|
|
- id: flake8
|
|
args: ['--config=.flake8']
|
|
files: ^(aiogram|tests)
|
|
- 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
|
|
additional_dependencies: [toml]
|
|
files: aiogram
|
|
|
|
- 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
|
|
additional_dependencies: [toml]
|
|
|
|
- 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
|
|
files: aiogram
|