fix typing flake8 (#1560)

* fix typing flake8

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused imports

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Asif Saif Uddin 2022-06-21 10:30:16 +06:00 committed by GitHub
parent e97223ffd5
commit 7b8467989f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ from __future__ import annotations
from fnmatch import fnmatch
from re import match as rematch
from typing import Callable, Dict, Optional, cast
from typing import Callable, cast
from .utils.compat import entrypoints
from .utils.encoding import bytes_to_str