first version of too few params detection

This commit is contained in:
Dave Halter
2014-05-21 13:01:12 +02:00
parent 4ecc150d85
commit 9d4dc546ca
3 changed files with 19 additions and 9 deletions

View File

@@ -12,7 +12,8 @@ CODES = {
'name-error': (2, NameError, 'Potential NameError.'),
'import-error': (3, ImportError, 'Potential ImportError.'),
'type-error-generator': (4, TypeError, "TypeError: 'generator' object is not subscriptable."),
'type-error-too-many-params': (4, TypeError, "TypeError: 'generator' object is not subscriptable."),
'type-error-too-many-arguments': (5, TypeError, None),
'type-error-too-few-arguments': (6, TypeError, None),
}