Move disallow-any-generics to mypy.ini (#63917)

This commit is contained in:
Marc Mueller 2022-01-11 22:33:25 +01:00 committed by GitHub
parent f4aa18de31
commit 240c9979c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 73 additions and 44 deletions

View file

@ -13,8 +13,6 @@ from .helpers.typing import UNDEFINED, UndefinedType
from .loader import Integration, IntegrationNotFound, async_get_integration
from .util import package as pkg_util
# mypy: disallow-any-generics
PIP_TIMEOUT = 60 # The default is too low when the internet connection is satellite or high latency
MAX_INSTALL_FAILURES = 3
DATA_PIP_LOCK = "pip_lock"