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
24 changed files with 73 additions and 44 deletions

View File

@@ -40,8 +40,6 @@ from . import (
volume as volume_util,
)
# mypy: disallow-any-generics
LENGTH_UNITS = distance_util.VALID_UNITS
MASS_UNITS: tuple[str, ...] = (MASS_POUNDS, MASS_OUNCES, MASS_KILOGRAMS, MASS_GRAMS)