Implement @cached_property attribute inference (#292)

This commit is contained in:
Marti Raudsepp
2020-01-10 12:57:09 +02:00
committed by Maksim Kurnikov
parent 7ba578f6b2
commit 6f296b0a91
3 changed files with 29 additions and 6 deletions

View File

@@ -457,7 +457,7 @@ IGNORED_ERRORS = {
'No overload variant of "join" matches argument types "str", "None"',
'Argument 1 to "Archive" has incompatible type "None"; expected "str"',
'Argument 1 to "to_path" has incompatible type "int"; expected "Union[Path, str]"',
'Cannot infer type argument 1 of "cached_property"',
],
'view_tests': [
"Module 'django.views.debug' has no attribute 'Path'",