Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x

This commit is contained in:
Alex Root Junior 2023-07-17 02:49:34 +03:00
commit c9d5b37d5c
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
3 changed files with 6 additions and 2 deletions

4
CHANGES/1221.misc.rst Normal file
View file

@ -0,0 +1,4 @@
Updated magic-filter with new features
- Added hint for len(F) error
- Added not in operation

View file

@ -191,7 +191,7 @@ class Command(Filter):
return command # noqa: RET504
def do_magic(self, command: CommandObject) -> Any:
if not self.magic:
if self.magic is None:
return command
result = self.magic.resolve(command)
if not result:

View file

@ -40,7 +40,7 @@ classifiers = [
"Topic :: Communications :: Chat",
]
dependencies = [
"magic-filter~=1.0.9",
"magic-filter~=1.0.10",
"aiohttp~=3.8.4",
"pydantic~=2.0.0",
"aiofiles~=23.1.0",