Rework middlewares

This commit is contained in:
Alex Root Junior 2022-04-11 03:30:22 +03:00
parent 5487f3314b
commit 03252c878e
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
35 changed files with 1244 additions and 669 deletions

View file

@ -2,20 +2,20 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v4.2.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 21.8b0
rev: 22.3.0
hooks:
- id: black
files: &files '^(aiogram|tests|examples)'
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.9.3
rev: v5.10.1
hooks:
- id: isort
additional_dependencies: [ toml ]