1
0
forked from VimPlug/jedi
Commit Graph

33 Commits

Author SHA1 Message Date
Danilo Bargen
c97e1732ee Operator statement wrapper was missing (fixes #436) 2014-07-27 12:53:18 +02:00
Dave Halter
50ceef6e09 1 + '1' TypeErrors are now detected, but not shown in the right place 2014-07-22 10:44:56 +02:00
Dave Halter
1c9058ce6b Also issue warnings if setattr is used in a class instead of an error 2014-06-26 13:40:15 +02:00
Dave Halter
a936cea987 jedi issues now warnings instead of errors for AttributeErrors that happen in instances with __getattr__/__getattribute__ methods 2014-06-26 12:21:19 +02:00
Dave Halter
7e0edc4776 preparation for warnings in static analysis 2014-06-26 11:57:44 +02:00
Dave Halter
393833059a fixed inheritance for exception checks 2014-06-23 13:01:12 +02:00
Dave Halter
c1181a0459 fix except: usage in analysis 2014-06-23 12:13:10 +02:00
Dave Halter
9348d4bb6c jedi should be able to detect exceptions even in except X: statements 2014-06-23 12:07:51 +02:00
Dave Halter
63868feb5d hasattr checks working now, #408 2014-06-10 16:08:53 +02:00
Dave Halter
c8b7d79b54 erroneus star arguments warning 2014-06-07 13:10:19 +02:00
Dave Halter
f061de0f74 Wrong var_args with a star star function. 2014-06-06 16:49:53 +02:00
Dave Halter
f3e986a285 add multiple values for keyword type error detection 2014-05-26 18:40:02 +02:00
Dave Halter
d9f17beea5 unexpected keyword arguments detection 2014-05-23 15:34:16 +02:00
Dave Halter
9d4dc546ca first version of too few params detection 2014-05-21 13:01:12 +02:00
Dave Halter
4ecc150d85 first version of too many arguments detection 2014-05-21 12:30:51 +02:00
Dave Halter
ecf9043d97 Improved error messages for AttributeErrors, however not a final version #408 2014-05-16 18:02:33 +02:00
Dave Halter
87704ec16a custom message capability for analysis 2014-05-16 15:46:08 +02:00
Dave Halter
11b7f9f7f6 decorators should also be included in the static analysis 2014-05-16 15:33:21 +02:00
Dave Halter
4e596060b9 test for is_nested failure 2014-05-16 13:00:13 +02:00
Dave Halter
8e27ed556e fix returns/flow command edge cases 2014-05-16 12:33:00 +02:00
Dave Halter
d59e21f43c new way of gathering statements to evaluate for static analysis 2014-05-16 12:23:09 +02:00
Dave Halter
bcab821df9 linter output changes - #408 2014-05-15 00:45:50 +02:00
Dave Halter
9bcc4f8fd2 static analysis is now able to tell the difference between NameError/AttributeError 2014-05-13 16:14:32 +02:00
Dave Halter
a2b483b4f5 None issue fix for static analysis 2014-05-13 01:21:32 +02:00
Dave Halter
00e43d4585 except can also catch multiple exceptions in one statement 2014-05-12 18:46:17 +02:00
Dave Halter
96386b4578 if something catches an exception, ignore that report 2014-05-12 18:10:17 +02:00
Dave Halter
64af9524b7 simple generator static analysis subscript check 2014-05-12 16:06:28 +02:00
Dave Halter
3f2e737702 statical analysis shouldn't report the exact same error twice 2014-05-11 16:45:22 +02:00
Dave Halter
7b525285bd static analysis import tests 2014-05-11 15:18:48 +02:00
Dave Halter
c59a8dce28 ImportError detection 2014-05-11 01:54:25 +02:00
Dave Halter
6098ba5e84 small fixes to the analysis.Error class. 2014-05-08 12:04:40 +02:00
Dave Halter
7c965e544f dive further into following imports, etc 2014-05-08 11:26:08 +02:00
Dave Halter
9eb75f9c61 static analysis prototype decription 2014-05-07 12:39:18 +02:00