Skip to content

Improve typing of generics #752

@jenstroeger

Description

@jenstroeger

As discussed in this PR discussion we want to add

diff --git a/mypy.ini b/mypy.ini
index 7c2cbac..a73163a 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -3,6 +3,7 @@ pretty = True
 show_column_numbers = True
 show_error_codes = True
 show_error_context = True
+disallow_any_generics = True
 
 [mypy-gevent]
 ignore_missing_imports = True

and fix the fallout of

Found 23 errors in 9 files (checked 89 source files)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions