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 abc
import sys
from _typeshed import Self as TypeshedSelf # see #6932 for why the alias cannot have a leading underscore
from typing import ( # noqa Y022
from typing import ( # noqa: Y022,Y027
TYPE_CHECKING as TYPE_CHECKING,
Any,
AsyncContextManager as AsyncContextManager,