mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
This adds the "--disallow-any=generics" option to run-mypy, which no longer permits: - inheriting from "list"; use "List[sometype]" (or a TypeVar) - generic types with no following square brackets specifying the type (even if initially 'Any') Any (and '...' for Callable) is a lot easier to search for than an absence of square brackets, and should improve overall typing quality.
4.3 KiB
Executable File
4.3 KiB
Executable File