Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/typecheck_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@
"Invalid type alias: expression is not a valid type",
'"object" not callable',
'Cannot assign multiple types to name "composed_perm" without an explicit "Type[...]" annotation',
'"<typing special form>" not callable',
"<nothing> not callable",
],
"test_relations.py": [
'Invalid index type "int" for "Union[str, _StrPromise, List[Any], Dict[str, Any]]"; expected type "str"',
Expand Down Expand Up @@ -237,6 +239,7 @@
"rest_framework.decorators",
'Argument 1 to "include" has incompatible type "Tuple[List[object], str]"',
'Incompatible types in assignment (expression has type "Type[FakeResolverMatch]", variable has type "Optional[ResolverMatch]"', # noqa: E501
'"None" not callable',
],
"test_viewsets.py": [
'(expression has type "None", variable has type "Request")',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def find_stub_files(name):
]

extras_require = {
"compatible-mypy": ["mypy>=0.991,<0.1000"],
"compatible-mypy": ["mypy>=1.0,<1.1"],
"coreapi": ["coreapi>=2.0.0"],
"markdown": ["types-Markdown>=0.1.5"],
}
Expand Down