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

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-03-28 23:17:44 +02:00
1 parent 478e7527aa
commit a3245db63c
15 files changed
+25 -27

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ _T_contra = TypeVar("_T_contra", contravariant=True)
# Use for "self" annotations:
# def __enter__(self: Self) -> Self: ...
Self = TypeVar("Self") # noqa Y001
Self = TypeVar("Self") # noqa: Y001
# For partially known annotations. Usually, fields where type annotations
# haven't been added are left unannotated, but in some situations this