Remove unneeded # noqa comments, fix broken # noqa comments (#7561)

This commit is contained in:
Alex Waygood
2022-03-28 22:17:44 +01:00
committed by GitHub
parent 478e7527aa
commit a3245db63c
15 changed files with 25 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
import sys
from _typeshed import Self, StrOrBytesPath
from types import TracebackType
from typing import ( # noqa Y027
from typing import ( # noqa: Y027
IO,
Any,
AsyncGenerator,
@@ -80,7 +80,7 @@ else:
AbstractContextManager = ContextManager
if sys.version_info >= (3, 7):
from typing import AsyncContextManager # noqa Y022
from typing import AsyncContextManager # noqa: Y022
AbstractAsyncContextManager = AsyncContextManager