simple generator static analysis subscript check
This commit is contained in:
1 parent
b6ec589997
commit
64af9524b7
3 files changed
+12
-1
No files matched your search
@@ -8,6 +8,7 @@ from jedi import debug
|
||||
CODES = {
|
||||
'attribute-error': (1, 'Potential AttributeError.'),
|
||||
'import-error': (2, 'Potential ImportError.'),
|
||||
'type-error-generator': (3, "TypeError: 'generator' object is not subscriptable."),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user