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

@ -70,8 +70,6 @@ from .trace import (
)
from .typing import ConfigType, TemplateVarsType
# mypy: disallow-any-generics
ASYNC_FROM_CONFIG_FORMAT = "async_{}_from_config"
FROM_CONFIG_FORMAT = "{}_from_config"
VALIDATE_CONFIG_FORMAT = "{}_validate_config"