Bump magic-filter to 1.0.10 (#1221)

* Bump magic-filter to 1.0.10

* Added changelog

* Fixed compatibility
This commit is contained in:
Alex Root Junior 2023-07-17 02:48:27 +03:00 committed by GitHub
parent 7f472eff42
commit 710c7669c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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",