Reenable flake8-pyi's Y011 and Y015 (#9551)

This commit is contained in:
Alex Waygood
2023-01-16 22:52:40 +00:00
committed by GitHub
parent 597e1a0078
commit 2b9f200e7e
4 changed files with 23 additions and 26 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
import sys
from _typeshed import Incomplete, StrOrBytesPath
from collections.abc import Callable, Generator
from typing import NamedTuple, SupportsFloat, TypeVar, overload
@@ -18,7 +17,7 @@ _R = TypeVar("_R")
_Mat: TypeAlias = Incomplete
useOpenCV: bool
RUNNING_PYTHON_2 = sys.version_info < (3,)
RUNNING_PYTHON_2: Literal[False]
GRAYSCALE_DEFAULT: Literal[False]
USE_IMAGE_NOT_FOUND_EXCEPTION: bool
scrotExists: bool