Updated pre-commit hook (#681)

* Updated pre-commit config and reformat code

* Added changelog
This commit is contained in:
Alex Root Junior 2021-09-07 00:32:43 +03:00 committed by GitHub
parent 90b3a99039
commit e356ede5de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 74 additions and 62 deletions

View file

@ -3,7 +3,7 @@ Filtering events
================
Filters is needed for routing updates to the specific handler.
Searching of handler is always stops on first match set of filters are pass.
Searching of handler is always stops on first match set of filters are pass.
*aiogram* has some builtin useful filters.
@ -39,8 +39,8 @@ Filters can be:
- Instances of :ref:`MagicFilter <magic-filters>`
Filters should return bool or dict.
If the dictionary is passed as result of filter - resulted data will be propagated to the next
Filters should return bool or dict.
If the dictionary is passed as result of filter - resulted data will be propagated to the next
filters and handler as keywords arguments.
Writing bound filters
@ -72,7 +72,6 @@ For example if you need to make simple text filter:
.. note::
Bound filters is always recursive propagates to the nested routers but will be available
Bound filters is always recursive propagates to the nested routers but will be available
in nested routers only after attaching routers so that's mean you will need to
include routers before registering handlers.